This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r231642 - in /branches/gcc-5-branch/libstdc++-v...
- From: timshen at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 15 Dec 2015 05:19:22 -0000
- Subject: r231642 - in /branches/gcc-5-branch/libstdc++-v...
Author: timshen
Date: Tue Dec 15 05:19:20 2015
New Revision: 231642
URL: https://gcc.gnu.org/viewcvs?rev=231642&root=gcc&view=rev
Log:
Backport from mainline
2015-12-15 Tim Shen <timshen@google.com>
PR libstdc++/68863
* include/bits/regex_executor.tcc (_Executor::_M_lookahead):
Copy the captured content for lookahead, so that the backreferences
inside can refer to them.
* testsuite/28_regex/algorithms/regex_match/ecma/char/68863.cc:
New testcase.
Added:
branches/gcc-5-branch/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/68863.cc
Modified:
branches/gcc-5-branch/libstdc++-v3/ChangeLog
branches/gcc-5-branch/libstdc++-v3/include/bits/regex_executor.tcc