ruby-changes:71362
From: Jeremy <ko1@a...>
Date: Fri, 11 Mar 2022 04:07:01 +0900 (JST)
Subject: [ruby-changes:71362] edc8576a65 (master): Allow interrupting regexps that backtrack
https://git.ruby-lang.org/ruby.git/commit/?id=edc8576a65 From edc8576a65b7082597d45a694434261ec3ac0d9e Mon Sep 17 00:00:00 2001 From: Jeremy Evans <code@j...> Date: Tue, 12 Oct 2021 12:15:15 -0700 Subject: Allow interrupting regexps that backtrack Fixes [Bug #14103] Co-authored-by: Nobuyoshi Nakada <nobu@r...> --- regexec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/regexec.c b/regexec.c index 8334b16e96..f6435d84c6 100644 --- a/regexec.c +++ b/regexec.c @@ -3175,6 +3175,7 @@ match_at(regex_t* reg, const UChar* str, const UChar* end, https://github.com/ruby/ruby/blob/trunk/regexec.c#L3175 #endif MOP_OUT; + CHECK_INTERRUPT_IN_MATCH_AT; JUMP; DEFAULT -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/