Show Step and explain! In UNIX notation for regular expressions (it is the same
ID: 3595309 • Letter: S
Question
Show Step and explain!
In UNIX notation for regular expressions (it is the same as for lex, see lex documentation in the Help section, also you can see Wikipedia page on regular expressions) define the following 1. unsigned integers with leading zeroes allowed (such as 0, 0001, 1, 200, 0220 etc.) 3. unsigned reals (i.e. numbers with the decimal point such as 2.3, 0.315, o.0000100, tokens 2. unsigned integers that do not allow leading zeros (such as 0, 1, 200 etc.) 123.000000123 etc) where both the parts, the one before the decimal point and the one after the decimal point, cannot be empty (e.g. neither 23 nor 145. nor. are OK) 4. unsigned reals where both the parts, the one before the decimal point and the one after the decimal point can be empty (e.g. . is a valid real)Explanation / Answer
So, to solve this problem, let understand how regular expressions (RE) works.