comparison etc/etags.1 @ 45885:b2b7c9519909

Specify that the separator character can be different from a slash. Clarify that the @regexfile contains the arguments to a --regex= option.
author Francesco Potortì <pot@gnu.org>
date Mon, 17 Jun 2002 22:08:20 +0000
parents d4c9f3bd6dfa
children a881d14145d0
comparison
equal deleted inserted replaced
45884:90445f6e269f 45885:b2b7c9519909
174 that the \fItagregexp\fP will be matched against the whole file contents 174 that the \fItagregexp\fP will be matched against the whole file contents
175 at once, rather than line by line, and the matching sequence can match 175 at once, rather than line by line, and the matching sequence can match
176 multiple lines; and \fIs\fP, which implies \fIm\fP and means that the 176 multiple lines; and \fIs\fP, which implies \fIm\fP and means that the
177 dot character in \fItagregexp\fP matches the newline char as well. 177 dot character in \fItagregexp\fP matches the newline char as well.
178 .br 178 .br
179 cthe optional \fB{\fP\fIlanguage\fP\fB}\fP means that the tag should be 179 The separator, which is \fB/\fP in the examples, can be any character
180 different from space, tab, braces and \fB@\fP. If the separator
181 character is needed inside the regular expression, it must be quoted
182 by preceding it with \fB\\\fP.
183 .br
184 The optional \fB{\fP\fIlanguage\fP\fB}\fP prefix means that the tag
185 should be
180 created only for files of language \fIlanguage\fP, and ignored 186 created only for files of language \fIlanguage\fP, and ignored
181 otherwise. This is particularly useful when storing many predefined 187 otherwise. This is particularly useful when storing many predefined
182 regexps in a file. 188 regexps in a file.
183 .br 189 .br
184 In its second form, \fIregexfile\fP is the name of a file containing 190 In its second form, \fIregexfile\fP is the name of a file that contains
185 regexps, one per line. Lines beginning with a space or tab are assumed 191 a number of arguments to the \fI\-\-regex\=\fP option,
192 one per line. Lines beginning with a space or tab are assumed
186 to be comments, and ignored. 193 to be comments, and ignored.
187 194
188 .br 195 .br
189 Here are some examples. All the regexps are quoted to protect them 196 Here are some examples. All the regexps are quoted to protect them
190 from shell interpretation. 197 from shell interpretation.