[libcxx-commits] [libcxx] 3793e75 - [libc++][C++03] Cherry-pick #129348 (#162821)
via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Oct 14 02:48:23 PDT 2025
Author: Nikolas Klauser
Date: 2025-10-14T11:48:18+02:00
New Revision: 3793e75b7af7e4908316e7869d8fc61517401865
URL: https://github.com/llvm/llvm-project/commit/3793e75b7af7e4908316e7869d8fc61517401865
DIFF: https://github.com/llvm/llvm-project/commit/3793e75b7af7e4908316e7869d8fc61517401865.diff
LOG: [libc++][C++03] Cherry-pick #129348 (#162821)
Added:
Modified:
libcxx/include/__cxx03/regex
libcxx/test/std/re/re.alg/re.alg.match/ecma.pass.cpp
Removed:
################################################################################
diff --git a/libcxx/include/__cxx03/regex b/libcxx/include/__cxx03/regex
index b96d59d3a252a..f4e662d283cb9 100644
--- a/libcxx/include/__cxx03/regex
+++ b/libcxx/include/__cxx03/regex
@@ -3911,7 +3911,7 @@ _ForwardIterator basic_regex<_CharT, _Traits>::__parse_character_escape(
++__first;
break;
default:
- if (*__first != '_' && !__traits_.isctype(*__first, ctype_base::alnum)) {
+ if (!__traits_.isctype(*__first, ctype_base::alnum)) {
if (__str)
*__str = *__first;
else
diff --git a/libcxx/test/std/re/re.alg/re.alg.match/ecma.pass.cpp b/libcxx/test/std/re/re.alg/re.alg.match/ecma.pass.cpp
index 799a362425ad5..0184a3835fb0d 100644
--- a/libcxx/test/std/re/re.alg/re.alg.match/ecma.pass.cpp
+++ b/libcxx/test/std/re/re.alg/re.alg.match/ecma.pass.cpp
@@ -7,8 +7,6 @@
//===----------------------------------------------------------------------===//
//
-// XFAIL: FROZEN-CXX03-HEADERS-FIXME
-
// <regex>
// template <class BidirectionalIterator, class Allocator, class charT, class traits>
More information about the libcxx-commits
mailing list