Next: , Up: Common Operators


14.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’.