comparison 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
comparison
equal deleted inserted replaced
35795:30079c668d33 35796:d3872b19023d
583 the characters that stand for them. 583 the characters that stand for them.
584 584
585 @item \S@var{code} 585 @item \S@var{code}
586 @cindex @samp{\S} in regexp 586 @cindex @samp{\S} in regexp
587 matches any character whose syntax is not @var{code}. 587 matches any character whose syntax is not @var{code}.
588
589 @item \c@var{c}
590 matches any character whose category is @var{c}. Here @var{c} is a
591 character that represents a category: thus, @samp{c} for Chinese
592 characters or @samp{g} for Greek characters in the standard category
593 table.
594
595 @item \C@var{c}
596 matches any character whose category is not @var{c}.
588 @end table 597 @end table
589 598
590 The following regular expression constructs match the empty string---that is, 599 The following regular expression constructs match the empty string---that is,
591 they don't use up any characters---but whether they match depends on the 600 they don't use up any characters---but whether they match depends on the
592 context. 601 context.