diff options
author | Tim Shen <timshen@google.com> | 2014-11-25 05:43:04 +0000 |
---|---|---|
committer | Tim Shen <timshen@gcc.gnu.org> | 2014-11-25 05:43:04 +0000 |
commit | 02ba3fc22d5b4101f99bd5b0cc5101a04cdd0eb2 (patch) | |
tree | b5ca80b80eb4fcbdf7b29b72f70f709d6d1c5f9f /gcc/c | |
parent | 5534b254aeaec496b1aa0cf9f9c951c9debfa97d (diff) | |
download | gcc-02ba3fc22d5b4101f99bd5b0cc5101a04cdd0eb2.zip gcc-02ba3fc22d5b4101f99bd5b0cc5101a04cdd0eb2.tar.gz gcc-02ba3fc22d5b4101f99bd5b0cc5101a04cdd0eb2.tar.bz2 |
re PR libstdc++/63920 (Any regular expression should not match an empty sequence if match_not_null is specified)
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.
From-SVN: r218037
Diffstat (limited to 'gcc/c')
0 files changed, 0 insertions, 0 deletions