aboutsummaryrefslogtreecommitdiff
path: root/libvtv/configure.ac
diff options
context:
space:
mode:
authorTim Shen <timshen@google.com>2014-07-01 02:10:31 +0000
committerTim Shen <timshen@gcc.gnu.org>2014-07-01 02:10:31 +0000
commitad9ec7b3c5969c776bc28e18292be09981abaa6a (patch)
tree88aab4a08a668b5a2e116189f2dd62d4878258ff /libvtv/configure.ac
parent25f28ff0ea8202215b7432f9ade8cb51b01a0185 (diff)
downloadgcc-ad9ec7b3c5969c776bc28e18292be09981abaa6a.zip
gcc-ad9ec7b3c5969c776bc28e18292be09981abaa6a.tar.gz
gcc-ad9ec7b3c5969c776bc28e18292be09981abaa6a.tar.bz2
re PR libstdc++/61424 (std::regex matches right to left, not leftmost longest)
PR libstdc++/61424 * include/bits/regex.tcc (__regex_algo_impl<>): Use DFS for ECMAScript, not just regex containing back-references. * include/bits/regex_compiler.tcc (_Compiler<>::_M_disjunction): exchange _M_next and _M_alt for alternative operator, making matching from left to right. * include/bits/regex_executor.h (_State_info<>::_M_get_sol_pos): Add position tracking fom DFS. * include/bits/regex_executor.tcc (_Executor<>::_M_main_dispatch, _Executor<>::_M_dfs): Likewise. * include/bits/regex_scanner.h: Remove unused enum entry. * testsuite/28_regex/algorithms/regex_search/61424.cc: New testcase from PR. From-SVN: r212184
Diffstat (limited to 'libvtv/configure.ac')
0 files changed, 0 insertions, 0 deletions