forked from boostorg/regex
Add support for PRUNE and SKIP (no MARK's though).
This commit is contained in:
@ -354,6 +354,9 @@ bool perl_matcher<BidiIterator, Allocator, traits>::match_prefix()
|
||||
#endif
|
||||
if(!m_has_found_match)
|
||||
position = restart; // reset search postion
|
||||
#ifdef BOOST_REGEX_RECURSIVE
|
||||
m_can_backtrack = true; // reset for further searches
|
||||
#endif
|
||||
return m_has_found_match;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user