Node:Simple Characters,
Next:The * Special Character,
Previous:The Simple,
Up:The Simple
Simple Characters
In regular expressions, generally, a character matches itself. The only
exceptions are regular expression special characters. To match one of
these special characters, you must put a \ before the character.
For example, the regular expression abc matches a set of strings
that contain abc somewhere in them. Since * happens to be
a regular expression special character, the regular expression \*
matches any string that contains the * character.
|