prev UP NEXT Regex

4.1: Word Operators

The operators in this section require Regex to recognize parts of words. Regex uses a syntax table to determine whether or not a character is part of a word, i.e., whether or not it is word-constituent.

  • Non-Emacs Syntax Tables
  • Match-word-boundary Operator \b
  • Match-within-word Operator \B
  • Match-beginning-of-word Operator \<
  • Match-end-of-word Operator \>
  • Match-word-constituent Operator \w
  • Match-non-word-constituent Operator \W