diff --git a/stl/inc/regex b/stl/inc/regex index b5fa6cae39..f101e02355 100644 --- a/stl/inc/regex +++ b/stl/inc/regex @@ -293,8 +293,7 @@ public: } _Elem translate(_Elem _Ch) const { // provide locale-sensitive mapping - string_type _Res = _Getcoll()->transform(_STD addressof(_Ch), _STD addressof(_Ch) + 1); - return _Res.size() == 1 ? _Res[0] : _Ch; + return _Ch; } _Elem translate_nocase(_Elem _Ch) const { // provide case-insensitive mapping