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

[Bug libstdc++/61227] [C++11] Regex [\w] does not work


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61227

--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Tue Jun  3 17:26:24 2014
New Revision: 211192

URL: http://gcc.gnu.org/viewcvs?rev=211192&root=gcc&view=rev
Log:
Backport from mainline
2014-05-20  Tim Shen  <timshen91@gmail.com>

    PR libstdc++/61227
    * include/bits/regex_compiler.h
    (_BracketMatcher<>::_M_add_character_class): Add negative character
    class support.
    * include/bits/regex_compiler.tcc (_BracketMatcher<>::_M_apply):
    Likewise.
    * testsuite/28_regex/algorithms/regex_match/ecma/char/quoted_char.cc:
    Add more testcases.

Modified:
    branches/gcc-4_9-branch/libstdc++-v3/ChangeLog
    branches/gcc-4_9-branch/libstdc++-v3/include/bits/regex_compiler.h
    branches/gcc-4_9-branch/libstdc++-v3/include/bits/regex_compiler.tcc
   
branches/gcc-4_9-branch/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/quoted_char.cc


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