summaryrefslogtreecommitdiffstats
path: root/grep-searcher/src/searcher/mod.rs
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2019-04-10 21:50:31 -0400
committerAndrew Gallant <jamslam@gmail.com>2019-04-14 19:29:27 -0400
commitbd222ae93fa0cabe7d51ba8db40ece99579bdaed (patch)
tree54c6c4b2aaae675bfaed8f6b8d22f2e8cb4505c4 /grep-searcher/src/searcher/mod.rs
parent4359d8aac0307f7ee36faa7b1ab64646f6160efc (diff)
regex: fix HIR analysis bug
An alternate can be empty at this point, so we must handle it. We didn't before because the regex engine actually disallows empty alternates, however, this code runs before the regex compiler rejects the regex.
Diffstat (limited to 'grep-searcher/src/searcher/mod.rs')
0 files changed, 0 insertions, 0 deletions