-
Notifications
You must be signed in to change notification settings - Fork 437
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This fixes a bug where the HIR translator would panic on regexes such as `(?i){1}` since it assumes that every repetition operator has a valid sub-expression, and `(?i)` is not actually a sub-expression (but is more like a directive instead). Previously, we fixed this same bug for *uncounted* repetitions in commit 17764ff (for bug #465), but we did not fix it for counted repetitions. We apply the same fix here. Fixes #555
- Loading branch information
1 parent
67fca6c
commit 7b1599f
Showing
3 changed files
with
27 additions
and
0 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
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