Introducing UNIX and Linux |
Overview |
Regular expressionsThe pattern matching described earlier is a very simple
means of associating many strings which have a common pattern with
a single string that describes that pattern. It is fine for
matching filenames, and for the use of a There are different types of regular expression, and regular expressions can be defined in a variety of ways. UNIX specifies two sorts - a basic regular expression (or BRE), and an extended regular expression (or ERE). We start by defining a basic regular expression. |
Copyright © 2002 Mike Joy, Stephen Jarvis and Michael Luck