1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-03-17 20:28:03 +02:00
Andrew Gallant e772a95b58 regex: avoid using literal optimizations when whitespace is detected
If a literal is entirely whitespace, then it's quite likely that it is
very common. So when that case occurs, just don't do (inner) literal
optimizations at all.

The regex engine may still make sub-optimal decisions here, but that's a
problem for another day.

Fixes #1087
2020-03-15 13:19:14 -04:00
..
2020-02-28 20:31:43 -05:00
2020-03-15 13:19:14 -04:00
2020-02-28 20:31:43 -05:00
2020-02-28 20:31:43 -05:00
2020-02-28 20:31:43 -05:00
2020-02-28 20:31:43 -05:00
2020-02-28 20:31:43 -05:00
2020-02-28 20:31:43 -05:00