comparison man/maintaining.texi @ 42201:46e216716173

In the Etags manual, when comparing the regular expression syntax to that of Emacs, remove the references to the interval operator, which is now part of Emacs as well as Etags, and add references to greedy operators and shy groups, which are now part of Emacs, but not of Etags.
author Francesco Potortì <pot@gnu.org>
date Thu, 20 Dec 2001 09:14:27 +0000
parents 0fe5fe39786c
children edeb3d66b7e0
comparison
equal deleted inserted replaced
42200:c0106627502f 42201:46e216716173
472 beginning your regular expression with @samp{[ \t]*}. In the regular 472 beginning your regular expression with @samp{[ \t]*}. In the regular
473 expressions, @samp{\} quotes the next character, and @samp{\t} stands 473 expressions, @samp{\} quotes the next character, and @samp{\t} stands
474 for the tab character. Note that @code{etags} does not handle the other 474 for the tab character. Note that @code{etags} does not handle the other
475 C escape sequences for special characters. 475 C escape sequences for special characters.
476 476
477 @cindex interval operator (in regexps)
478 The syntax of regular expressions in @code{etags} is the same as in 477 The syntax of regular expressions in @code{etags} is the same as in
479 Emacs, augmented with the @dfn{interval operator}, which works as in 478 Emacs. However, non-greedy operators and shy groups are not
480 @code{grep} and @code{ed}. The syntax of an interval operator is 479 available.
481 @samp{\@{@var{m},@var{n}\@}}, and its meaning is to match the preceding
482 expression at least @var{m} times and up to @var{n} times.
483 480
484 You should not match more characters with @var{tagregexp} than that 481 You should not match more characters with @var{tagregexp} than that
485 needed to recognize what you want to tag. If the match is such that 482 needed to recognize what you want to tag. If the match is such that
486 more characters than needed are unavoidably matched by @var{tagregexp} 483 more characters than needed are unavoidably matched by @var{tagregexp}
487 (as will usually be the case), you should add a @var{nameregexp}, to 484 (as will usually be the case), you should add a @var{nameregexp}, to