Skip to content

Commit

Permalink
Tentative fix for #227.
Browse files Browse the repository at this point in the history
  • Loading branch information
jzmaddock committed Nov 4, 2024
1 parent bd0e76f commit 39ee6e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/boost/regex/v5/perl_matcher_non_recursive.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1204,6 +1204,8 @@ bool perl_matcher<BidiIterator, Allocator, traits>::skip_until_paren(int index,
else if(pstate->type == syntax_element_startmark)
{
int idx = static_cast<const re_brace*>(pstate)->index;
//if (idx == -5)
match_startmark();
pstate = pstate->next.p;
skip_until_paren(idx, false);
continue;
Expand Down

0 comments on commit 39ee6e3

Please sign in to comment.