regex: fix another inner literal bug

It looks like `is_simple` wasn't quite correct.

I can't wait until this code is rewritten. It is still not quite clearly
correct to me.

Fixes #1537
This commit is contained in:
Andrew Gallant
2020-04-01 20:34:39 -04:00
parent 3d6a58faff
commit 1c4b5adb7b
3 changed files with 31 additions and 6 deletions

View File

@@ -1,3 +1,11 @@
TBD
===
Bug fixes:
* [BUG #1537](https://github.com/BurntSushi/ripgrep/issues/1537):
Fix match bug caused by inner literal optimization.
12.0.1 (2020-03-29)
===================
ripgrep 12.0.1 is a small patch release that includes a minor bug fix relating