forked from boostorg/regex
Tentative fix for #227.
This commit is contained in:
@ -1204,6 +1204,8 @@ bool perl_matcher<BidiIterator, Allocator, traits>::skip_until_paren(int index,
|
|||||||
else if(pstate->type == syntax_element_startmark)
|
else if(pstate->type == syntax_element_startmark)
|
||||||
{
|
{
|
||||||
int idx = static_cast<const re_brace*>(pstate)->index;
|
int idx = static_cast<const re_brace*>(pstate)->index;
|
||||||
|
//if (idx == -5)
|
||||||
|
match_startmark();
|
||||||
pstate = pstate->next.p;
|
pstate = pstate->next.p;
|
||||||
skip_until_paren(idx, false);
|
skip_until_paren(idx, false);
|
||||||
continue;
|
continue;
|
||||||
|
Reference in New Issue
Block a user