Reg-expr | Description
-----------+---------------------------------------------------
. | Matches any character except newline
[a-z0-9] | Matches any single character of the set
[^a-z0-9] | Matches any single character not in set
\d | Matches a digit, i.e., [0-9]
\w | Matches a alpha-numeric character, i.e., [a-zA-Z0-9_]
\W | Matches a non-word character, i.e., [^a-zA-Z0-9_]
\metachar | Matches the character itself, i.e., \|, \*, \+
x? | Matches 0 or 1 x's, where x is any of the above
x* | Matches 0 or more x's
x+ | Matches 1 or more x's
x{m,n} | Matches at least m x's but no more than n
foo|bar | Matches one of foo or bar
(x) | Brackets a regular expression (this is a bit of a lie :-)
\b | Matches a word boundary
You probably won't need to search using regular expressions, but you
may find it useful when cutting down the scope of a search. For
example if you wanted to search for documents that are concerned with
either Fortran 90 or Fortran M, then you could use the expression
Fortran\s?(90|M). The optional space (i.e., \s?) is
useful to select articles that people have forgotten to put a space
between the ``Fortran'' and the ``90''. Then again it's probably easier just
searching for ``Fortran'' :-)The following are more complete introductions to Perl regular expressions: