Next: The Match-within-word Operator (\B
), Up: Word Operators [Contents][Index]
\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’.