]> Savannah Git Hosting - gnulib.git/commit
regex: match current GNU grep behavior
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 4 Jul 2015 15:25:21 +0000 (08:25 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 4 Jul 2015 15:25:59 +0000 (08:25 -0700)
commit5a5a9388e93d00a7bcb97700a7a552bef20343fd
treeea7a06f7b10ca0f2b6894f88ad9d8d6a0b90aca0
parent7a4daa4da64bc112b9745e5815fdb6698b2446f7
regex: match current GNU grep behavior

These symbols have not matched GNU grep behavior for quite some time.
Fix prompted by Balazs Kezes bug report at: http://bugs.gnu.org/20974
* lib/regex.h (RE_SYNTAX_GREP, RE_SYNTAX_EGREP):
Change to match current GNU behavior.
Simplify by expressing it as differences from POSIX BREs and EREs.
(RE_SYNTAX_POSIX_EGREP): No longer differs from GNU behavior.
ChangeLog
lib/regex.h