Regular Expressions
Pattern Matching Exercise 1
- Using only the knowledge that you have gained in the course
to this point, try the following exercise:
Exercise |
- Run the example "pat0" as follows: pat0 < pat.dat
- Copy the example "pat0" into a new script called "pat1".
- Make "pat1" skip blank lines and #-comment lines.
|

Start
|

Solution
|