Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
b4b39c67
Commit
b4b39c67
authored
Jun 06, 2002
by
Francesco Potortì
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document Etags regexp char escape sequences.
parent
e7d3b099
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
3 deletions
+30
-3
etc/NEWS
etc/NEWS
+3
-0
etc/etags.1
etc/etags.1
+3
-0
man/maintaining.texi
man/maintaining.texi
+24
-3
No files found.
etc/NEWS
View file @
b4b39c67
...
...
@@ -593,6 +593,9 @@ be used (only once) in place of a file name on the command line. Etags
will read from standard input and mark the produced tags as belonging to
the file FILE.
*** Regular expressions can use char escape sequences as in Gcc
These are the escapes \a, \b, \d, \e, \f, \n, \r, \t, \v.
+++
** The command line option --no-windows has been changed to
--no-window-system. The old one still works, but is deprecated.
...
...
etc/etags.1
View file @
b4b39c67
...
...
@@ -168,6 +168,9 @@ such that more characters than needed are unavoidably matched by
\fItagregexp\fP, it may be useful to add a \fInameregexp\fP, to
narrow down the tag scope. \fBctags\fP ignores regexps without a
\fInameregexp\fP. The syntax of regexps is the same as in emacs.
The following character escape sequences are supported:
\\a, \\b, \\d, \\e, \\f, \\n, \\r, \\t, \\v.
.br
Here are some examples. All the regexps are quoted to protect them
from shell interpretation.
...
...
man/maintaining.texi
View file @
b4b39c67
...
...
@@ -485,9 +485,30 @@ where @var{tagregexp} is used to match the lines to tag. It is always
anchored
,
that
is
,
it
behaves
as
if
preceded
by
@
samp
{^}.
If
you
want
to
account
for
indentation
,
just
match
any
initial
number
of
blanks
by
beginning
your
regular
expression
with
@
samp
{[
\
t
]*}.
In
the
regular
expressions
,
@
samp
{\}
quotes
the
next
character
,
and
@
samp
{\
t
}
stands
for
the
tab
character
.
Note
that
@
code
{
etags
}
does
not
handle
the
other
C
escape
sequences
for
special
characters
.
expressions
,
@
samp
{\}
quotes
the
next
character
,
and
all
the
@
code
{
gcc
}
character
escape
sequences
are
supported
.
Here
is
the
list
of
the
character
escape
sequences
:
@
table
@
samp
@
item
\
a
BEL
(
bell
).
@
item
\
b
BS
(
back
space
).
@
item
\
d
DEL
(
delete
).
@
item
\
e
ESC
(
delete
).
@
item
\
f
FF
(
form
feed
).
@
item
\
n
NL
(
new
line
).
@
item
\
r
CR
(
carriage
return
).
@
item
\
t
TAB
(
horizontal
tab
).
@
item
\
v
VT
(
vertical
tab
).
@
end
table
The
syntax
of
regular
expressions
in
@
code
{
etags
}
is
the
same
as
in
Emacs
.
However
,
non
-
greedy
operators
and
shy
groups
are
not
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment