r239794 - in /trunk/libstdc++-v3: ChangeLog inc...

timshen@gcc.gnu.org timshen@gcc.gnu.org
Sat Aug 27 02:03:00 GMT 2016


Author: timshen
Date: Sat Aug 27 02:03:23 2016
New Revision: 239794

URL: https://gcc.gnu.org/viewcvs?rev=239794&root=gcc&view=rev
Log:
	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.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/regex_compiler.tcc
    trunk/libstdc++-v3/include/bits/regex_scanner.h
    trunk/libstdc++-v3/include/bits/regex_scanner.tcc
    trunk/libstdc++-v3/testsuite/28_regex/regression.cc



More information about the Libstdc++-cvs mailing list