Regular Expressions
Pattern Matching Exercise 4
- Using only the knowledge that you have gained in the course
to this point, try the following exercise:
Exercise |
- Run the example "pat3" as follows: pat3 < pat.dat
- Copy the example "pat3" into a new script called "pat4".
- Make "pat4" print only name lines (Hint: they only contain letters
and spaces)
|

Start
|

Solution
|