[Bug libstdc++/124015] regex_traits::lookup_classname returns ctype_base::alpha for "graph" with icase=true
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Mar 9 11:50:47 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124015
--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-15 branch has been updated by Jonathan Wakely
<redi@gcc.gnu.org>:
https://gcc.gnu.org/g:d93ae0cd1a0fcb87c74181ceba966ae1e7681f1c
commit r15-10928-gd93ae0cd1a0fcb87c74181ceba966ae1e7681f1c
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Tue Feb 10 20:01:32 2026 +0000
libstdc++: Improve tests for std::regex_traits::lookup_classname [PR124015]
libstdc++-v3/ChangeLog:
PR libstdc++/124015
* testsuite/28_regex/traits/char/lookup_classname.cc: Check for
correct result for unrecognized classname. Check that lookup is
case insensitive. Check that all required classnames are
recognized. Check that icase flag only affects "lower" and
"upper".
* testsuite/28_regex/traits/wchar_t/lookup_classname.cc:
Likewise.
Reviewed-by: Tomasz KamiÅski <tkaminsk@redhat.com>
(cherry picked from commit 81e492ba723f9cfdd69d4badfdec1c00983952a9)
More information about the Gcc-bugs
mailing list