1. Write regular expressions for the following languages using Go's regular expression syntax (using Go to test your answers would be a good idea). Use ^ and $ to get exact matches o Biological pronunciation for plants at Monrovia.com. On the Hot Blooded Lantana, Lantana camara, Monrovia Plant page, the pronunciation is: lan-TAY-na ca-MA-ra. For Blue Arrow Juniper, Juniperus scopulorum, Monrovia Plant, the pronunciation is: ju-NIP-er-us skop-u-LO-rum Each syllable is one or more letters, Each syllable uses all upper case if the syllable should be stressed, all lower case if not O ● Plant prices at Monrovia.com. Plants may be offered in different sizes, so if you click on the Container Size link on a page like: Hot Blooded Lantana, Lantana camara, Monrovia Plant, you find strings like: “#1 – .75 Gallon $16.99” or “#2 – 1.6 Gallon $36.99". For purposes of this assignment, you will just match the pattern rather than worry about the correctness. A few notes: The container size (1 or 2 above) is just a single digit The Gallon size is always less than 10, and just 1 or 2 digits after the decimal point ● Syllables are separated by a dash There are exactly two words (Scientific Plant Names | Landscape Plants | Oregon State University explains that the first word is the genus, the second word is the "specific epithet") ● Prices are less than $1000 and have exactly 2 digits after the decimal point (for cents)
Go Language


In accordance with the Bartleby rules, I have offered a step-by-step explanation of the given problem.
Explanation:-
For this step, please refer to the solution.
Programming tools and methods evolve and persist in an erratic manner. The ones that perform adequately within the appropriate niche or happen to be integrated with another successful piece of technology tend to succeed rather than the ones that are particularly attractive or brilliant.
I'll talk about regular expressions as one such technique in this chapter. Patterns in string data can be described using regular expressions. Together, they make up a tiny, distinct language that is a component of JavaScript and several other linguistic systems.
Regular expressions are both terribly awkward and extremely useful. Their syntax is obscure, and JavaScript's programming interface for them is awkward. However, they are an effective tool for examining and handling strings. A thorough grasp of regular expressions will improve your programming skills.
Step by step
Solved in 2 steps









