Mercurial > emacs
diff lispref/searching.texi @ 35796:d3872b19023d
(Regexp Backslash): categories.
author | Dave Love <fx@gnu.org> |
---|---|
date | Wed, 31 Jan 2001 19:12:18 +0000 |
parents | c3aecbe98b99 |
children | 2b1f94f72990 |
line wrap: on
line diff
--- a/lispref/searching.texi Wed Jan 31 19:10:33 2001 +0000 +++ b/lispref/searching.texi Wed Jan 31 19:12:18 2001 +0000 @@ -585,6 +585,15 @@ @item \S@var{code} @cindex @samp{\S} in regexp matches any character whose syntax is not @var{code}. + +@item \c@var{c} +matches any character whose category is @var{c}. Here @var{c} is a +character that represents a category: thus, @samp{c} for Chinese +characters or @samp{g} for Greek characters in the standard category +table. + +@item \C@var{c} +matches any character whose category is not @var{c}. @end table The following regular expression constructs match the empty string---that is,