forked from rust-lang/regex
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Specifically, given the strings ABCX, CDAX and BCX, it was reporting the unambiguous set as A, BCX and CDAX, which is wrong since A is a substring of CDAX. unambiguous_prefixes is now quite a bit of a mess, but so is the rest of the literal extraction code. The only thing it has going for it is a massive test suite. Fixes rust-lang#289
- Loading branch information
1 parent
3cfef1e
commit 6300490
Showing
2 changed files
with
18 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters