-
Notifications
You must be signed in to change notification settings - Fork 920
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix regex quantifier check to include capture groups (#11373)
Adds regex compile logic to check quantifier can be used with the previous item even if its within a capture group. This prevents an infinite loop occurring when evaluating the expression. Additional gtests are included to check for this condition which should throw an error. Closes #11311 Authors: - David Wendt (https://github.com/davidwendt) Approvers: - Tobias Ribizel (https://github.com/upsj) - Elias Stehle (https://github.com/elstehle) URL: #11373
- Loading branch information
1 parent
d3244ab
commit 53a2f15
Showing
2 changed files
with
48 additions
and
3 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