Previous slide Next slide Back to the first slide View text version


Before we examine more examples, its important to point out that UNIX provides an extensive set of special characters that enables us to define very powerful pattern matches.

These special characters used with regular expressions shouldn’t be confused with the shell metacharacters used for filename expansions or other specific shell interpretations. To be more specific, notice the interpretation of:

Notice how we have special characters that allows us to span an expression! We’ll see some powerful examples shortly.

The key is to simply remember how you’re these special characters.