From 39ee6e36b0152f0b7770a129c5e59deace87d9b4 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Mon, 4 Nov 2024 16:38:46 +0000 Subject: [PATCH] Tentative fix for #227. --- include/boost/regex/v5/perl_matcher_non_recursive.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/boost/regex/v5/perl_matcher_non_recursive.hpp b/include/boost/regex/v5/perl_matcher_non_recursive.hpp index 28d6c462..009788d2 100644 --- a/include/boost/regex/v5/perl_matcher_non_recursive.hpp +++ b/include/boost/regex/v5/perl_matcher_non_recursive.hpp @@ -1204,6 +1204,8 @@ bool perl_matcher::skip_until_paren(int index, else if(pstate->type == syntax_element_startmark) { int idx = static_cast(pstate)->index; + //if (idx == -5) + match_startmark(); pstate = pstate->next.p; skip_until_paren(idx, false); continue;