Examples

Examples

Examples: 1997, 19.97

Solution: Note use of regular definitions as intermediate

names that define regular subexpressions.

digit 0 | 1 | 2| 3| … | 9

digit digit digit* (often written as digit+) This is

the Kleene star. Means 1 or more digits.

Previous slide Next slide Back to the first slide View Graphic Version