Skip to content

Commit

Permalink
Allow interrupting regexps that backtrack
Browse files Browse the repository at this point in the history
Fixes [Bug #14103]

Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
  • Loading branch information
jeremyevans and nobu committed Mar 10, 2022
1 parent 1b15756 commit edc8576
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions regexec.c
Expand Up @@ -3175,6 +3175,7 @@ match_at(regex_t* reg, const UChar* str, const UChar* end,
#endif

MOP_OUT;
CHECK_INTERRUPT_IN_MATCH_AT;
JUMP;

DEFAULT
Expand Down

0 comments on commit edc8576

Please sign in to comment.