Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix excessive backtracking in regex engine by introducing backtrackin…
…g limit The regex engine was prone to excessive backtracking, leading to timeouts and infinite loops, particularly with patterns involving nested quantifiers. This commit introduces a backtracking counter and a limit of 1000 backtracking steps. When this limit is exceeded, the regex engine aborts to prevent excessive backtracking.
- Loading branch information