forked from boostorg/regex
Allow sort keys to contain nothing but a single NUL character (characters may be ignorable).
[SVN r27408]
This commit is contained in:
@ -372,6 +372,8 @@ typename w32_regex_traits_implementation<charT>::string_type
|
||||
result.erase(i);
|
||||
break;
|
||||
}
|
||||
if(result.empty())
|
||||
result = string_type(1, charT(0));
|
||||
return result;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user