mirror of
https://github.com/boostorg/regex.git
synced 2025-07-18 23:02:09 +02:00
@ -477,7 +477,9 @@ bool perl_matcher<BidiIterator, Allocator, traits>::match_rep()
|
||||
take_second = can_start(*position, rep->_map, (unsigned char)mask_skip);
|
||||
}
|
||||
|
||||
if(take_first || (next_count->get_id() != rep->id))
|
||||
if((m_backup_state->id != saved_state_repeater_count)
|
||||
|| (static_cast<saved_repeater<BidiIterator>*>(m_backup_state)->count.get_id() != rep->id)
|
||||
|| (next_count->get_id() != rep->id))
|
||||
{
|
||||
// we're moving to a different repeat from the last
|
||||
// one, so set up a counter object:
|
||||
|
Reference in New Issue
Block a user