forked from boostorg/regex
Fixed bug that effect some searches
[SVN r18003]
This commit is contained in:
@ -2068,7 +2068,7 @@ unsigned int BOOST_REGEX_CALL reg_expression<charT, traits, Allocator>::fixup_le
|
|||||||
case re_detail::syntax_element_rep:
|
case re_detail::syntax_element_rep:
|
||||||
if((len == 0) && (1 == fixup_leading_rep(dat->next.p, static_cast<re_detail::re_repeat*>(dat)->alt.p) ))
|
if((len == 0) && (1 == fixup_leading_rep(dat->next.p, static_cast<re_detail::re_repeat*>(dat)->alt.p) ))
|
||||||
{
|
{
|
||||||
static_cast<re_detail::re_repeat*>(dat)->leading = true;
|
static_cast<re_detail::re_repeat*>(dat)->leading = leading_lit;
|
||||||
return len;
|
return len;
|
||||||
}
|
}
|
||||||
return len;
|
return len;
|
||||||
@ -2121,3 +2121,4 @@ void BOOST_REGEX_CALL reg_expression<charT, traits, Allocator>::fail(unsigned in
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user