comparison etc/NEWS @ 45800:d11816fe2c59

New multi-line regexp and new regexp syntax.
author Francesco Potortì <pot@gnu.org>
date Thu, 13 Jun 2002 11:15:46 +0000
parents d6822e2dafb3
children d4c9f3bd6dfa
comparison
equal deleted inserted replaced
45799:147a637372eb 45800:d11816fe2c59
567 then it reverts to the old behavior and asks the user to select regions for 567 then it reverts to the old behavior and asks the user to select regions for
568 comparison. 568 comparison.
569 569
570 ** Etags changes. 570 ** Etags changes.
571 571
572 *** New syntax for regular expressions, multi-line regular expressions.
573 The syntax --ignore-case-regexp=/REGEX/NAME/ is now undocumented and
574 retained only for backward compatibility. The new equivalent syntax is
575 --regex=/REGEX/NAME/i. More generally, it is --regex=/REGEX/NAME/MODS,
576 where `/NAME' is optional, as usual, and MODS is a string of 0 or more
577 characters among `i' (ignore case), `m' (multi-line) and `s'
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'
580 (which implies `m') means that `.' matches newlines. The ability to
581 span newlines allows writing of much more powerful regular expressions
582 and rapid prototyping for tagging new languages.
583
584 *** Regular expressions can use char escape sequences as in Gcc
585 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,
587 CR, TAB, VT,
588
572 *** In Prolog, etags creates tags for rules in addition to predicates. 589 *** In Prolog, etags creates tags for rules in addition to predicates.
573 590
574 *** In Perl, packages are tags. 591 *** In Perl, packages are tags.
575 Subroutine tags are named from their package. You can jump to sub tags 592 Subroutine tags are named from their package. You can jump to sub tags
576 as you did before, by the sub name, or additionally by looking for 593 as you did before, by the sub name, or additionally by looking for
593 *** New option --parse-stdin=FILE 610 *** New option --parse-stdin=FILE
594 This option is mostly useful when calling etags from programs. It can 611 This option is mostly useful when calling etags from programs. It can
595 be used (only once) in place of a file name on the command line. Etags 612 be used (only once) in place of a file name on the command line. Etags
596 will read from standard input and mark the produced tags as belonging to 613 will read from standard input and mark the produced tags as belonging to
597 the file FILE. 614 the file FILE.
598
599 *** Regular expressions can use char escape sequences as in Gcc
600 These are the escapes \a, \b, \d, \e, \f, \n, \r, \t, \v.
601 615
602 +++ 616 +++
603 ** The command line option --no-windows has been changed to 617 ** The command line option --no-windows has been changed to
604 --no-window-system. The old one still works, but is deprecated. 618 --no-window-system. The old one still works, but is deprecated.
605 619