This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/67362] std::regex("((.)", std::regex_constants::basic) throws
- From: "timshen at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 28 Aug 2015 02:35:53 +0000
- Subject: [Bug libstdc++/67362] std::regex("((.)", std::regex_constants::basic) throws
- Auto-submitted: auto-generated
- References: <bug-67362-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67362
--- Comment #1 from Tim Shen <timshen at gcc dot gnu.org> ---
Author: timshen
Date: Fri Aug 28 02:35:21 2015
New Revision: 227289
URL: https://gcc.gnu.org/viewcvs?rev=227289&root=gcc&view=rev
Log:
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.
Added:
trunk/libstdc++-v3/testsuite/28_regex/regression.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/regex_scanner.tcc