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


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