Mercurial > emacs
changeset 35796:d3872b19023d
(Regexp Backslash): categories.
author | Dave Love <fx@gnu.org> |
---|---|
date | Wed, 31 Jan 2001 19:12:18 +0000 |
parents | 30079c668d33 |
children | c6c152eee9a8 |
files | lispref/searching.texi |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
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,