Examples of Regular Expressions
Tricky: Unlike Wildcards
- Use . Not ? for one character
- * wildcards the previous character
- shell escapes ‘your pattern’
- grep \& ch04.txt finds the literal string &
- grep ‘\. ‘ syntax-examples.mif to find two spaces after a period by “escaping” the period