re PR libstdc++/67362 (std::regex("((.)", std::regex_constants::basic) throws)
authorTim Shen <timshen@google.com>
Fri, 28 Aug 2015 02:35:21 +0000 (02:35 +0000)
committerTim Shen <timshen@gcc.gnu.org>
Fri, 28 Aug 2015 02:35:21 +0000 (02:35 +0000)
commitcae4063ceaad71f86684bf46a6d6443a730ec91b
treed68540c22e6795003c04acddb45b33176a55f5b6
parent88df0b5747431d70500f53b1142f5d568cac61d7
re PR libstdc++/67362 (std::regex("((.)", std::regex_constants::basic) throws)

PR libstdc++/67362
* include/bits/regex_scanner.tcc (_Scanner<>::_M_scan_normal):
Always returns ordinary char token if the char isn't
considered a special char.
* testsuite/28_regex/regression.cc: New test file for collecting
regression testcases from, typically, bugzilla.

From-SVN: r227289
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/regex_scanner.tcc
libstdc++-v3/testsuite/28_regex/regression.cc [new file with mode: 0644]