]> git.eshelyaron.com Git - emacs.git/commitdiff
(Regexp Backslash): categories.
authorDave Love <fx@gnu.org>
Wed, 31 Jan 2001 19:12:18 +0000 (19:12 +0000)
committerDave Love <fx@gnu.org>
Wed, 31 Jan 2001 19:12:18 +0000 (19:12 +0000)
lispref/searching.texi

index 7274209adb711c3f22d8711413704f785d3f2978..e23be33e440271afe39704aa88e2c77ef74ae4c0 100644 (file)
@@ -585,6 +585,15 @@ the characters that stand for them.
 @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,