Next: , Up: Common Operators   [Contents][Index]


18.3.1 The Match-self Operator (ordinary character)

This operator matches the character itself. All ordinary characters (see Regular Expression Syntax) represent this operator. For example, ‘f’ is always an ordinary character, so the regular expression ‘f’ matches only the string ‘f’. In particular, it does not match the string ‘ff’.