How to solve regular expression in compiler design?
Answers
Answered by
0
Answer:
If x is a regular expression, then: x* means zero or more occurrence of x. i.e., it can generate { e, x, xx, xxx, xxxx, … } x+ means one or more occurrence of x. i.e., it can generate { x, xx, xxx, xxxx … } or x.x* x? means at most one occurrence of x. i.e., it can generate either {x} or {e}.
Similar questions
Social Sciences,
6 months ago
English,
6 months ago
Math,
6 months ago
Math,
1 year ago
Computer Science,
1 year ago