]> git.eshelyaron.com Git - emacs.git/commit
* regex.c (regex_compile): Recognize *?, +? and ?? as non-greedy
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 5 Dec 1999 04:05:42 +0000 (04:05 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 5 Dec 1999 04:05:42 +0000 (04:05 +0000)
commitdb0e466c893cdfbe6dad3862a3a71292d92b11c7
tree1e82e46f401f66fc0a1de1c1405158961952838f
parent22afa6e864aaf0b823d4c29fa6ab8a09ec8173ce
* regex.c (regex_compile): Recognize *?, +? and ?? as non-greedy
operators and handle them properly.
* regex.h (RE_ALL_GREEDY): New option.
(RE_UNMATCHED_RIGHT_PAREN_ORD): Moved to the end where alphabetic
sorting would put it.
(RE_SYNTAX_AWK, RE_SYNTAX_GREP, RE_SYNTAX_EGREP)
(_RE_SYNTAX_POSIX_COMMON): Use the new option to keep old behavior.
src/ChangeLog