diff options
| author | Paul Eggert | 2024-12-15 00:16:10 -0700 |
|---|---|---|
| committer | Paul Eggert | 2024-12-15 00:16:10 -0700 |
| commit | 856a58e28279139cfd6503917954fd75fcdd7e78 (patch) | |
| tree | 25fe9b9b6410730f7530eabc610179a9b590c17f | |
| parent | 4c68846223b91e50e4a15fbc59d2238605ce2a57 (diff) | |
| download | emacs-856a58e28279139cfd6503917954fd75fcdd7e78.tar.gz emacs-856a58e28279139cfd6503917954fd75fcdd7e78.zip | |
Update documentation of 'etags' regexps some more
* doc/emacs/maintaining.texi (Etags Regexps):
* doc/man/etags.1: Give more details about what's not supported.
| -rw-r--r-- | doc/emacs/maintaining.texi | 8 | ||||
| -rw-r--r-- | doc/man/etags.1 | 5 |
2 files changed, 10 insertions, 3 deletions
diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi index adda923af7c..bc7a47482a8 100644 --- a/doc/emacs/maintaining.texi +++ b/doc/emacs/maintaining.texi | |||
| @@ -3094,8 +3094,12 @@ and all the C character escape sequences are supported: @samp{\a} for | |||
| 3094 | bell, @samp{\b} for back space, @samp{\e} for escape, @samp{\f} for | 3094 | bell, @samp{\b} for back space, @samp{\e} for escape, @samp{\f} for |
| 3095 | formfeed, @samp{\n} for newline, @samp{\r} for carriage return, | 3095 | formfeed, @samp{\n} for newline, @samp{\r} for carriage return, |
| 3096 | @samp{\t} for tab, and @samp{\v} for vertical tab. In addition, | 3096 | @samp{\t} for tab, and @samp{\v} for vertical tab. In addition, |
| 3097 | @samp{\d} stands for the @code{DEL} character. Shy groups are not | 3097 | @samp{\d} stands for the @code{DEL} character. Otherwise, |
| 3098 | supported by @command{etags}. | 3098 | the regular expression syntax is the same as Emacs |
| 3099 | except that backslash escapes are the same | ||
| 3100 | as GNU grep (which means, for example, that shy groups are not supported), | ||
| 3101 | and @samp{[:ascii:]}, @samp{[:multibyte:]}, @samp{[:nonascii:]}, | ||
| 3102 | @samp{[:word:]}, and @samp{[:unibyte:]} are not supported. | ||
| 3099 | 3103 | ||
| 3100 | Ideally, @var{tagregexp} should not match more characters than are | 3104 | Ideally, @var{tagregexp} should not match more characters than are |
| 3101 | needed to recognize what you want to tag. If the syntax requires you | 3105 | needed to recognize what you want to tag. If the syntax requires you |
diff --git a/doc/man/etags.1 b/doc/man/etags.1 index 12c2afc88b2..d26e2445e44 100644 --- a/doc/man/etags.1 +++ b/doc/man/etags.1 | |||
| @@ -185,7 +185,10 @@ useless characters. If the match is such that more characters than | |||
| 185 | needed are unavoidably matched by \fItagregexp\fP, it may be useful to | 185 | needed are unavoidably matched by \fItagregexp\fP, it may be useful to |
| 186 | add a \fInameregexp\fP, to narrow down the tag scope. \fBctags\fP | 186 | add a \fInameregexp\fP, to narrow down the tag scope. \fBctags\fP |
| 187 | ignores regexps without a \fInameregexp\fP. The syntax of regexps is | 187 | ignores regexps without a \fInameregexp\fP. The syntax of regexps is |
| 188 | the same as in emacs, except that shy groups are not supported. | 188 | the same as in Emacs, except that backslash escapes are the same |
| 189 | as GNU grep (which means, for example, that shy groups are not supported), | ||
| 190 | and \fB[:ascii:]\fP, \fB[:multibyte:]\fP, \fB[:nonascii:]\fP, | ||
| 191 | \fB[:word:]\fP, and \fB[:unibyte:]\fP are not supported. | ||
| 189 | The following character escape sequences are supported: | 192 | The following character escape sequences are supported: |
| 190 | \\a, \\b, \\d, \\e, \\f, \\n, \\r, \\t, \\v, which respectively | 193 | \\a, \\b, \\d, \\e, \\f, \\n, \\r, \\t, \\v, which respectively |
| 191 | stand for the ASCII characters BEL, BS, DEL, ESC, FF, NL, CR, TAB, VT. | 194 | stand for the ASCII characters BEL, BS, DEL, ESC, FF, NL, CR, TAB, VT. |