Next: , Previous: , Up: Word Operators   [Contents][Index]


15.4.1.2 The Match-word-boundary Operator (\b)

This operator (represented by ‘\b’) matches the empty string at either the beginning or the end of a word. For example, ‘\brat\b’ matches the separate word ‘rat’.