mirror of
https://github.com/boostorg/regex.git
synced 2025-07-19 15:22:09 +02:00
Added last minute patch for .*?$ failing in the non-recursive algorithm.
[SVN r21525]
This commit is contained in:
@ -1005,7 +1005,7 @@ bool perl_matcher<BidiIterator, Allocator, traits, Allocator2>::unwind_slow_dot_
|
|||||||
{
|
{
|
||||||
// can't repeat any more, remove the pushed state:
|
// can't repeat any more, remove the pushed state:
|
||||||
destroy_single_repeat();
|
destroy_single_repeat();
|
||||||
if(rep->can_be_null & mask_skip)
|
if(0 == (rep->can_be_null & mask_skip))
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else if(count == rep->max)
|
else if(count == rep->max)
|
||||||
@ -1057,7 +1057,7 @@ bool perl_matcher<BidiIterator, Allocator, traits, Allocator2>::unwind_fast_dot_
|
|||||||
{
|
{
|
||||||
// can't repeat any more, remove the pushed state:
|
// can't repeat any more, remove the pushed state:
|
||||||
destroy_single_repeat();
|
destroy_single_repeat();
|
||||||
if(rep->can_be_null & mask_skip)
|
if(0 == (rep->can_be_null & mask_skip))
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else if(count == rep->max)
|
else if(count == rep->max)
|
||||||
@ -1121,7 +1121,7 @@ bool perl_matcher<BidiIterator, Allocator, traits, Allocator2>::unwind_char_repe
|
|||||||
{
|
{
|
||||||
// can't repeat any more, remove the pushed state:
|
// can't repeat any more, remove the pushed state:
|
||||||
destroy_single_repeat();
|
destroy_single_repeat();
|
||||||
if(rep->can_be_null & mask_skip)
|
if(0 == (rep->can_be_null & mask_skip))
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else if(count == rep->max)
|
else if(count == rep->max)
|
||||||
@ -1185,7 +1185,7 @@ bool perl_matcher<BidiIterator, Allocator, traits, Allocator2>::unwind_short_set
|
|||||||
{
|
{
|
||||||
// can't repeat any more, remove the pushed state:
|
// can't repeat any more, remove the pushed state:
|
||||||
destroy_single_repeat();
|
destroy_single_repeat();
|
||||||
if(rep->can_be_null & mask_skip)
|
if(0 == (rep->can_be_null & mask_skip))
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else if(count == rep->max)
|
else if(count == rep->max)
|
||||||
@ -1250,7 +1250,7 @@ bool perl_matcher<BidiIterator, Allocator, traits, Allocator2>::unwind_long_set_
|
|||||||
{
|
{
|
||||||
// can't repeat any more, remove the pushed state:
|
// can't repeat any more, remove the pushed state:
|
||||||
destroy_single_repeat();
|
destroy_single_repeat();
|
||||||
if(rep->can_be_null & mask_skip)
|
if(0 == (rep->can_be_null & mask_skip))
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else if(count == rep->max)
|
else if(count == rep->max)
|
||||||
|
Reference in New Issue
Block a user