mirror of
https://github.com/boostorg/regex.git
synced 2025-07-14 21:06:38 +02:00
Fix for broken split (doesn't spit out all sub expressions).
[SVN r11716]
This commit is contained in:
@ -69,8 +69,9 @@ bool split_pred<OutputIterator, charT, Traits1, Alloc1, Alloc2>::operator()
|
|||||||
{
|
{
|
||||||
*(*p_out) = static_cast<string_type>(what[i]);
|
*(*p_out) = static_cast<string_type>(what[i]);
|
||||||
++(*p_out);
|
++(*p_out);
|
||||||
return --*p_max;
|
if(0 == --*p_max) return false;
|
||||||
}
|
}
|
||||||
|
return *p_max != 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user