This prevents the backtracking regex engines from "hanging forever"
under certain input.
Details
Details
- Reviewers
mclow.lists EricWF
Diff Detail
Diff Detail
- Build Status
Buildable 2501 Build 2501: arc lint + arc unit
Event Timeline
Comment Actions
I defined and exported a macro _LIBCPP_REGEX_COMPLEXITY_FACTOR in the hope that even when the library is shipped to the user, and when the user finds the factor to be inappropriate, they can override it.
I'm not aware of and exported macro policy though, please advice. :)