PREV UP NEXT GNU Emacs Lisp Reference Manual

30.2: Regular Expressions

A regular expression (regexp, for short) is a pattern that denotes a (possibly infinite) set of strings. Searching for matches for a regexp is a very powerful operation. This section explains how to write regexps; the following section says how to search for them.

  • Syntax of Regexps Rules for writing regular expressions.
  • Regexp Example Illustrates regular expression syntax.