https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71500
--- Comment #13 from Tim Shen <timshen at gcc dot gnu.org> --- Author: timshen Date: Thu Dec 1 03:03:55 2016 New Revision: 243093 URL: https://gcc.gnu.org/viewcvs?rev=243093&root=gcc&view=rev Log: PR libstdc++/71500 * include/bits/regex.h (basic_regex::basic_regex): Use ECMAScript when the syntax is not specified. * include/bits/regex_compiler.h (_RegexTranslator, _RegexTranslatorBase): Partially support icase in ranges. * include/bits/regex_compiler.tcc (_BracketMatcher::_M_apply): Refactor _M_apply to make the control flow easier to follow, and call _M_translator._M_match_range as added previously. * testsuite/28_regex/traits/char/icase.cc: Add new tests. * testsuite/28_regex/traits/char/user_defined.cc: Add new tests. Added: trunk/libstdc++-v3/testsuite/28_regex/traits/char/icase.cc Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/bits/regex.h trunk/libstdc++-v3/include/bits/regex_compiler.h trunk/libstdc++-v3/include/bits/regex_compiler.tcc trunk/libstdc++-v3/testsuite/28_regex/traits/char/user_defined.cc