[Bug libstdc++/63920] Any regular expression should not match an empty sequence if match_not_null is specified

2023-07-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63920

Jonathan Wakely  changed:

   What|Removed |Added

   Target Milestone|--- |5.0

[Bug libstdc++/63920] Any regular expression should not match an empty sequence if match_not_null is specified

2015-02-05 Thread timshen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63920

Tim Shen timshen at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

--- Comment #3 from Tim Shen timshen at gcc dot gnu.org ---
Fixed.


[Bug libstdc++/63920] Any regular expression should not match an empty sequence if match_not_null is specified

2014-11-24 Thread timshen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63920

--- Comment #2 from Tim Shen timshen at gcc dot gnu.org ---
Author: timshen
Date: Tue Nov 25 05:43:04 2014
New Revision: 218037

URL: https://gcc.gnu.org/viewcvs?rev=218037root=gccview=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


[Bug libstdc++/63920] Any regular expression should not match an empty sequence if match_not_null is specified

2014-11-18 Thread kariya_mitsuru at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63920

--- Comment #1 from Mitsuru Kariya kariya_mitsuru at hotmail dot com ---
Sorry, the last link was mistaken.
The right link is below.
http://melpon.org/wandbox/permlink/v1HhsIs8d2LrmUk9