569 |
|
|
570 |
** Etags changes. |
** Etags changes. |
571 |
|
|
572 |
*** New syntax for regular expressions, multi-line regular expressions. |
*** New regular expressions features |
573 |
|
|
574 |
|
**** New syntax for regular expressions, multi-line regular expressions. |
575 |
The syntax --ignore-case-regexp=/regex/ is now undocumented and retained |
The syntax --ignore-case-regexp=/regex/ is now undocumented and retained |
576 |
only for backward compatibility. The new equivalent syntax is |
only for backward compatibility. The new equivalent syntax is |
577 |
--regex=/regex/i. More generally, it is --regex=/TAGREGEX/TAGNAME/MODS, |
--regex=/regex/i. More generally, it is --regex=/TAGREGEX/TAGNAME/MODS, |
583 |
span newlines allows writing of much more powerful regular expressions |
span newlines allows writing of much more powerful regular expressions |
584 |
and rapid prototyping for tagging new languages. |
and rapid prototyping for tagging new languages. |
585 |
|
|
586 |
*** Regular expressions can use char escape sequences as in Gcc |
**** Regular expressions can use char escape sequences as in Gcc |
587 |
The escaped character sequence \a, \b, \d, \e, \f, \n, \r, \t, \v, |
The escaped character sequence \a, \b, \d, \e, \f, \n, \r, \t, \v, |
588 |
respectively, stand for the ASCII characters BEL, BS, DEL, ESC, FF, NL, |
respectively, stand for the ASCII characters BEL, BS, DEL, ESC, FF, NL, |
589 |
CR, TAB, VT, |
CR, TAB, VT, |
590 |
|
|
591 |
*** Regular expressions can be bound to a given language |
**** Regular expressions can be bound to a given language |
592 |
The syntax --regex={LANGUAGE}REGEX means that REGEX is used to make tags |
The syntax --regex={LANGUAGE}REGEX means that REGEX is used to make tags |
593 |
only for files of language LANGUAGE, and ignored otherwise. This is |
only for files of language LANGUAGE, and ignored otherwise. This is |
594 |
particularly useful when storing regexps in a file. |
particularly useful when storing regexps in a file. |
595 |
|
|
596 |
*** Regular expressions can be read from a file |
**** Regular expressions can be read from a file |
597 |
The --regex=@regexfile option means read the regexps from a file, one |
The --regex=@regexfile option means read the regexps from a file, one |
598 |
per line. Lines beginning with space or tab are ignored. |
per line. Lines beginning with space or tab are ignored. |
599 |
|
|
600 |
*** In Prolog, etags creates tags for rules in addition to predicates. |
*** New language parsing features |
601 |
|
|
602 |
|
**** In Prolog, etags creates tags for rules in addition to predicates. |
603 |
|
|
604 |
*** In Perl, packages are tags. |
**** In Perl, packages are tags. |
605 |
Subroutine tags are named from their package. You can jump to sub tags |
Subroutine tags are named from their package. You can jump to sub tags |
606 |
as you did before, by the sub name, or additionally by looking for |
as you did before, by the sub name, or additionally by looking for |
607 |
package::sub. |
package::sub. |
608 |
|
|
609 |
*** New default keywords for TeX. |
**** New default keywords for TeX. |
610 |
The new keywords are def, newcommand, renewcommand, newenvironment and |
The new keywords are def, newcommand, renewcommand, newenvironment and |
611 |
renewenvironment. |
renewenvironment. |
612 |
|
|
613 |
*** New language PHP: tags are functions, classes and defines. |
**** New language PHP: tags are functions, classes and defines. |
614 |
If the --members option is specified to etags, tags are vars also. |
If the --members option is specified to etags, tags are vars also. |
615 |
|
|
616 |
*** Honour #line directives. |
*** Honour #line directives. |