gcc/libstdc++-v3/testsuite/28_regex
Tim Shen 4aebb4e4a6 re PR libstdc++/77356 (regex error for a ECMAScript syntax string)
PR libstdc++/77356
	* include/bits/regex_compiler.tcc(_M_insert_bracket_matcher,
	_M_expression_term): Modify to support dash literal.
	* include/bits/regex_scanner.h: Add dash as a token type to make
	a different from the mandated dash literal by escaping.
	* include/bits/regex_scanner.tcc(_M_scan_in_bracket): Emit dash
	token in bracket expression parsing.
	* testsuite/28_regex/regression.cc: Add new testcases.

From-SVN: r239794
2016-08-27 02:03:23 +00:00
..
algorithms Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
basic_regex Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
constants Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
headers/regex
iterators Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
match_results Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
regex_error Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
requirements Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
sub_match Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
traits Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
init-list.cc Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
range_access.cc Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
regression.cc re PR libstdc++/77356 (regex error for a ECMAScript syntax string) 2016-08-27 02:03:23 +00:00