# HG changeset patch # User Stefan Monnier # Date 944366742 0 # Node ID ce6c0cf762efa5375755575474caea4ba250cef0 # Parent b20c864d87b9b1e418b17e43ea9633ee02c4d400 * 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. diff -r b20c864d87b9 -r ce6c0cf762ef src/ChangeLog Binary file src/ChangeLog has changed