diff options
author | Szabolcs Nagy <nsz@port70.net> | 2015-04-18 16:47:17 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2016-01-30 20:53:17 -0500 |
commit | da4cc13b9705e7d3a02216959b9711b3b30828c1 (patch) | |
tree | 40b725270f05a2673495e6c72ce78acd85d68ada /src/regex/glob.c | |
parent | regex: reject repetitions in some cases with REG_BADRPT (diff) | |
download | grovel-da4cc13b9705e7d3a02216959b9711b3b30828c1.tar.gz grovel-da4cc13b9705e7d3a02216959b9711b3b30828c1.tar.xz |
regex: treat \| in BRE as alternation
The standard does not define semantics for \| in BRE, but some code
depends on it meaning alternation. Empty alternative expression is
allowed to be consistent with ERE.
Based on a patch by Rob Landley.
Diffstat (limited to 'src/regex/glob.c')
0 files changed, 0 insertions, 0 deletions