]> git.eshelyaron.com Git - emacs.git/commitdiff
* 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)
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

index b2264f4c6e9da20c8186dd71b3c08511b28324cf..f350ca6312f13e0480fe8be0b68175b1822028c2 100644 (file)
@@ -1,3 +1,13 @@
+1999-12-04  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * 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.
+
 1999-12-04  Dave Love  <d.love@dl.ac.uk>
 
        * m/arm.h: New file.