This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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]

Re: [Patch, libstdc++/63920] Fix regex_constants::match_not_null behavior


On 18/11/14 11:12 -0800, Tim Shen wrote:
Bootstrapped and tested.

Thanks!


--
Regards,
Tim Shen

commit f17155183b9ae1283d04f3bbdb61d05d9279ebe4
Author: timshen <timshen@google.com>
Date:   Tue Nov 18 00:07:28 2014 -0800

   	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.

OK for trunk - thanks.


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