commit | 29b13575376509bb21539711f30c1deaf0823033 | [log] [tgz] |
---|---|---|
author | Szabolcs Nagy <nsz@port70.net> | Mon Feb 29 16:36:25 2016 +0000 |
committer | Rich Felker <dalias@aerifal.cx> | Wed Mar 02 00:47:22 2016 -0500 |
tree | a562ad6c465f6f33d0cb534d6a80a5e85bd681b3 | |
parent | 39ea71fb8afddda879a1999f2a203dfdaf57a639 [diff] |
fix ^* at the start of a complete BRE This is a workaround to treat * as literal * at the start of a BRE. Ideally ^ would be treated as an anchor at the start of any BRE subexpression and similarly $ would be an anchor at the end of any subexpression. This is not required by the standard and hard to do with the current code, but it's the existing practice. If it is changed, * should be treated as literal after such anchor as well.