This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/67362] std::regex("((.)", std::regex_constants::basic) throws


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67362

--- Comment #3 from Tim Shen <timshen at gcc dot gnu.org> ---
Author: timshen
Date: Fri Aug 28 03:39:53 2015
New Revision: 227291

URL: https://gcc.gnu.org/viewcvs?rev=227291&root=gcc&view=rev
Log:
        Backport from mainline
        2015-08-28  Tim Shen  <timshen@google.com>

        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:
    branches/gcc-4_9-branch/libstdc++-v3/testsuite/28_regex/regression.cc
Modified:
    branches/gcc-4_9-branch/libstdc++-v3/ChangeLog
    branches/gcc-4_9-branch/libstdc++-v3/include/bits/regex_scanner.tcc


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]