Regular Expression
Basics
regular expression | Example strings that match the pattern |
(a | b) c | |
(ab)*c | |
(ab)*(c|e) | |
a | bc*d | |
(ab*c)*b |
language | (some) strings in the language |
L( ea ) | |
L( (a | b)* ) | |
L( (a*b*)* ) | |
L( (a*ba*b)* a* ) |
Unix Pattern Matching
Equivalence of Regular Expressions