gcc/libstdc++-v3/testsuite/28_regex
Tim Shen f9ce3c1639 re PR libstdc++/67015 ("^[a-z0-9][a-z0-9-]*$", std::regex::extended is miscompiled)
PR libstdc++/67015
	* include/bits/regex_compiler.h (_Compiler<>::_M_expression_term,
	_BracketMatcher<>::_M_add_collating_element): Change signature
	to make checking the and of bracket expression easier.
	* include/bits/regex_compiler.tcc (_Compiler<>::_M_expression_term):
	Treat '-' as a valid literal if it's at the end of bracket expression.
	* testsuite/28_regex/algorithms/regex_match/cstring_bracket_01.cc:
	New testcases.

From-SVN: r226336
2015-07-29 03:45:35 +00:00
..
algorithms re PR libstdc++/67015 ("^[a-z0-9][a-z0-9-]*$", std::regex::extended is miscompiled) 2015-07-29 03:45:35 +00:00
basic_regex re PR libstdc++/64680 (basic_regex::operator= does not reset flags) 2015-01-22 05:07:03 +00:00
constants re PR libstdc++/65420 (Enumerators in std::regex_constants should be constexpr variables instead) 2015-03-28 04:17:12 +00:00
headers/regex Update copyright years. 2015-01-05 13:33:28 +01:00
iterators Update copyright years. 2015-01-05 13:33:28 +01:00
match_results re PR libstdc++/64441 (A match_results returns an incorrect sub_match if the sub_match::matched is false) 2015-03-10 18:41:46 +00:00
regex_error Update copyright years. 2015-01-05 13:33:28 +01:00
requirements Update copyright years. 2015-01-05 13:33:28 +01:00
sub_match Update copyright years. 2015-01-05 13:33:28 +01:00
traits re PR libstdc++/64467 (28_regex/traits/char/isctype.cc and wchar_t/isctype.cc) 2015-03-09 12:47:51 +00:00
init-list.cc Update copyright years. 2015-01-05 13:33:28 +01:00
range_access.cc Update copyright years. 2015-01-05 13:33:28 +01:00