Next: , Previous: Match-word-boundary Operator, Up: Word Operators


14.4.1.3 The Match-within-word Operator (\B)

This operator (represented by ‘\B’) matches the empty string within a word. For example, ‘c\Brat\Be’ matches ‘crate’, but ‘dirty \Brat’ doesn't match ‘dirty rat’.