diff options
| author | Francesco Potortì | 2002-06-13 12:10:39 +0000 |
|---|---|---|
| committer | Francesco Potortì | 2002-06-13 12:10:39 +0000 |
| commit | df3eebcbcffcf9fd3d96796856e6272cb2bdc01f (patch) | |
| tree | fe31b841bd1db2930394011e797d4e581bed2bce /etc/NEWS | |
| parent | cc76b31124d08a3aa6de24a0dfd73398ecb10a19 (diff) | |
| download | emacs-df3eebcbcffcf9fd3d96796856e6272cb2bdc01f.tar.gz emacs-df3eebcbcffcf9fd3d96796856e6272cb2bdc01f.zip | |
New {language} and @regexp features.
Diffstat (limited to 'etc/NEWS')
| -rw-r--r-- | etc/NEWS | 19 |
1 files changed, 14 insertions, 5 deletions
| @@ -570,11 +570,11 @@ comparison. | |||
| 570 | ** Etags changes. | 570 | ** Etags changes. |
| 571 | 571 | ||
| 572 | *** New syntax for regular expressions, multi-line regular expressions. | 572 | *** New syntax for regular expressions, multi-line regular expressions. |
| 573 | The syntax --ignore-case-regexp=/REGEX/NAME/ is now undocumented and | 573 | The syntax --ignore-case-regexp=/regex/ is now undocumented and retained |
| 574 | retained only for backward compatibility. The new equivalent syntax is | 574 | only for backward compatibility. The new equivalent syntax is |
| 575 | --regex=/REGEX/NAME/i. More generally, it is --regex=/REGEX/NAME/MODS, | 575 | --regex=/regex/i. More generally, it is --regex=/TAGREGEX/TAGNAME/MODS, |
| 576 | where `/NAME' is optional, as usual, and MODS is a string of 0 or more | 576 | where `/TAGNAME' is optional, as usual, and MODS is a string of 0 or |
| 577 | characters among `i' (ignore case), `m' (multi-line) and `s' | 577 | more characters among `i' (ignore case), `m' (multi-line) and `s' |
| 578 | (single-line). The `m' and `s' modifiers behave as in Perl regular | 578 | (single-line). The `m' and `s' modifiers behave as in Perl regular |
| 579 | expressions: `m' allows regexps to match more than one line, while `s' | 579 | expressions: `m' allows regexps to match more than one line, while `s' |
| 580 | (which implies `m') means that `.' matches newlines. The ability to | 580 | (which implies `m') means that `.' matches newlines. The ability to |
| @@ -586,6 +586,15 @@ The escaped character sequence \a, \b, \d, \e, \f, \n, \r, \t, \v, | |||
| 586 | respectively, stand for the ASCII characters BEL, BS, DEL, ESC, FF, NL, | 586 | respectively, stand for the ASCII characters BEL, BS, DEL, ESC, FF, NL, |
| 587 | CR, TAB, VT, | 587 | CR, TAB, VT, |
| 588 | 588 | ||
| 589 | *** Regular expressions can be bound to a given language | ||
| 590 | The syntax --regex={LANGUAGE}REGEX means that REGEX is used to make tags | ||
| 591 | only for files of language LANGUAGE, and ignored otherwise. This is | ||
| 592 | particularly useful when storing regexps in a file. | ||
| 593 | |||
| 594 | *** Regular expressions can be read from a file | ||
| 595 | The --regex=@regexfile option means read the regexps from a file, one | ||
| 596 | per line. Lines beginning with space or tab are ignored. | ||
| 597 | |||
| 589 | *** In Prolog, etags creates tags for rules in addition to predicates. | 598 | *** In Prolog, etags creates tags for rules in addition to predicates. |
| 590 | 599 | ||
| 591 | *** In Perl, packages are tags. | 600 | *** In Perl, packages are tags. |