Fixed \l and \u so that they work correctly in case insensitive mode.

[SVN r22804]
This commit is contained in:
John Maddock
2004-05-12 11:39:28 +00:00
parent 1dc081e1c2
commit 6382470ac1

View File

@ -721,6 +721,13 @@ re_detail::re_syntax_base* BOOST_REGEX_CALL reg_expression<charT, traits, Alloca
re_detail::jstack<traits_string_type, Allocator> ranges(64, data.allocator());
re_detail::jstack<boost::uint_fast32_t, Allocator> classes(64, data.allocator());
re_detail::jstack<traits_string_type, Allocator> equivalents(64, data.allocator());
if(_flags & regbase::icase)
{
if((cls == traits_type::char_class_upper) || (cls == traits_type::char_class_lower))
{
cls = traits_type::char_class_alpha;
}
}
classes.push(cls);
if(dat)
{