Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Objective-J: fix catastrophic backtracking in comment regex (#2225)
This use of *? was both incorrect and catastrophically backtracking when embedding this regex into a larger regex with a trailing pattern, since it could match much more than intended and try exponentially many positions in that process.
- Loading branch information