commit | da4cc13b9705e7d3a02216959b9711b3b30828c1 | [log] [tgz] |
---|---|---|
author | Szabolcs Nagy <nsz@port70.net> | Sat Apr 18 16:47:17 2015 +0000 |
committer | Rich Felker <dalias@aerifal.cx> | Sat Jan 30 20:53:17 2016 -0500 |
tree | 40b725270f05a2673495e6c72ce78acd85d68ada | |
parent | 7eaa76fc2e7993582989d3838b1ac32dd8abac09 [diff] |
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.