Update documentation of 'etags' regexps

* doc/emacs/maintaining.texi (Etags Regexps):
* doc/man/etags.1: Say that shy groups are not supported (bug#74861).
This commit is contained in:
Eli Zaretskii 2024-12-15 07:52:40 +02:00
parent b5158bd191
commit 4c68846223
2 changed files with 7 additions and 6 deletions

View file

@ -3094,7 +3094,8 @@ and all the C character escape sequences are supported: @samp{\a} for
bell, @samp{\b} for back space, @samp{\e} for escape, @samp{\f} for bell, @samp{\b} for back space, @samp{\e} for escape, @samp{\f} for
formfeed, @samp{\n} for newline, @samp{\r} for carriage return, formfeed, @samp{\n} for newline, @samp{\r} for carriage return,
@samp{\t} for tab, and @samp{\v} for vertical tab. In addition, @samp{\t} for tab, and @samp{\v} for vertical tab. In addition,
@samp{\d} stands for the @code{DEL} character. @samp{\d} stands for the @code{DEL} character. Shy groups are not
supported by @command{etags}.
Ideally, @var{tagregexp} should not match more characters than are Ideally, @var{tagregexp} should not match more characters than are
needed to recognize what you want to tag. If the syntax requires you needed to recognize what you want to tag. If the syntax requires you

View file

@ -1,5 +1,5 @@
.\" See section COPYING for copyright and redistribution information. .\" See section COPYING for copyright and redistribution information.
.TH ETAGS 1 "2022-06-10" "GNU Tools" "GNU" .TH ETAGS 1 "2024-12-15" "GNU Tools" "GNU"
.de BP .de BP
.sp .sp
.ti -.2i .ti -.2i
@ -185,10 +185,10 @@ useless characters. If the match is such that more characters than
needed are unavoidably matched by \fItagregexp\fP, it may be useful to needed are unavoidably matched by \fItagregexp\fP, it may be useful to
add a \fInameregexp\fP, to narrow down the tag scope. \fBctags\fP add a \fInameregexp\fP, to narrow down the tag scope. \fBctags\fP
ignores regexps without a \fInameregexp\fP. The syntax of regexps is ignores regexps without a \fInameregexp\fP. The syntax of regexps is
the same as in emacs. The following character escape sequences are the same as in emacs, except that shy groups are not supported.
supported: \\a, \\b, \\d, \\e, \\f, \\n, \\r, \\t, \\v, which The following character escape sequences are supported:
respectively stand for the ASCII characters BEL, BS, DEL, ESC, FF, NL, \\a, \\b, \\d, \\e, \\f, \\n, \\r, \\t, \\v, which respectively
CR, TAB, VT. stand for the ASCII characters BEL, BS, DEL, ESC, FF, NL, CR, TAB, VT.
.br .br
The \fImodifiers\fP are a sequence of 0 or more characters among The \fImodifiers\fP are a sequence of 0 or more characters among
\fIi\fP, which means to ignore case when matching; \fIm\fP, which means \fIi\fP, which means to ignore case when matching; \fIm\fP, which means