Apply patches to regex_iteraor/regex_token_iterator to the unicode iterators as well.

[SVN r29512]
This commit is contained in:
John Maddock
2005-06-10 10:07:49 +00:00
parent a97324c1c4
commit 9e9fc27dc6
2 changed files with 3 additions and 1 deletions

View File

@ -130,7 +130,7 @@ public:
return true;
}
if(what.prefix().first != what[0].second)
flags |= match_prev_avail;
flags |= match_prev_avail | regex_constants::match_not_bob;
BidirectionalIterator last_end(what[0].second);
if(u32regex_search(last_end, end, what, re, ((what[0].first == what[0].second) ? flags | regex_constants::match_not_initial_null : flags)))
{