This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, libstdc++/67362] Fix non-special character for POSIX basic syntax in regex
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: Tim Shen <timshen at google dot com>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 27 Aug 2015 12:35:49 +0100
- Subject: Re: [Patch, libstdc++/67362] Fix non-special character for POSIX basic syntax in regex
- Authentication-results: sourceware.org; auth=none
- References: <CAG4ZjNnxyAf0SAcSd6Xne5VJfgds4aCxcwQ-7HwHbphtxiw3uA at mail dot gmail dot com>
On 26/08/15 18:41 -0700, Tim Shen wrote:
Bootstrapped and tested on x86_64-pc-linux-gnu.
Thanks!
--
Regards,
Tim Shen
commit e134e1a835ad15900686351cade36774593b91ea
Author: Tim Shen <timshen@google.com>
Date: Wed Aug 26 17:51:29 2015 -0700
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.
OK for trunk, 5 and 4.9, thanks.