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

@ -59,6 +59,8 @@ public:
match_flag_type f(flags);
if(!what.length())
f |= regex_constants::match_not_initial_null;
if(base != next_start)
f |= regex_constants::match_not_bob;
bool result = u32regex_search(next_start, end, what, re, f);
if(result)
what.set_base(base);