forked from boostorg/regex
Fix infinite loop in parser.
Fixes: https://github.com/boostorg/regex/issues/140.
This commit is contained in:
@ -1098,6 +1098,9 @@ bool basic_regex_parser<charT, traits>::parse_repeat(std::size_t low, std::size_
|
||||
}
|
||||
else
|
||||
contin = false;
|
||||
break;
|
||||
default:
|
||||
contin = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user