r218037 - in /trunk/libstdc++-v3: ChangeLog inc...
timshen@gcc.gnu.org
timshen@gcc.gnu.org
Tue Nov 25 05:43:00 GMT 2014
Author: timshen
Date: Tue Nov 25 05:43:04 2014
New Revision: 218037
URL: https://gcc.gnu.org/viewcvs?rev=218037&root=gcc&view=rev
Log:
PR libstdc++/63920
* include/bits/regex_executor.h: Make _M_begin non const.
* include/bits/regex_executor.tcc (_Executor<>::_M_search): Increase
_M_begin in search algorithm, so that _M_begin is treated as
"current start position" for each search iteration.
* testsuite/28_regex/algorithms/regex_search/ecma/flags.cc: New
testcase.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/regex_executor.h
trunk/libstdc++-v3/include/bits/regex_executor.tcc
trunk/libstdc++-v3/testsuite/28_regex/algorithms/regex_search/ecma/flags.cc
More information about the Gcc-cvs
mailing list