summaryrefslogtreecommitdiff
path: root/lispref
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>2001-01-31 19:12:18 +0000
committerDave Love <fx@gnu.org>2001-01-31 19:12:18 +0000
commita8b5bbefb32bb32ea7d06e0cb847407c6906ed04 (patch)
tree84d54112a9330a8b891863fb2326c6ede511c3ed /lispref
parenta57092e8ca055ec04aba86385a967eed33b6673a (diff)
downloademacs-a8b5bbefb32bb32ea7d06e0cb847407c6906ed04.tar.gz
(Regexp Backslash): categories.
Diffstat (limited to 'lispref')
-rw-r--r--lispref/searching.texi9
1 files changed, 9 insertions, 0 deletions
diff --git a/lispref/searching.texi b/lispref/searching.texi
index 7274209adb7..e23be33e440 100644
--- a/lispref/searching.texi
+++ b/lispref/searching.texi
@@ -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,