Skip to content

Commit 3793e75

Browse files
authored
[libc++][C++03] Cherry-pick llvm#129348 (llvm#162821)
1 parent 15d36fc commit 3793e75

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

libcxx/include/__cxx03/regex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3911,7 +3911,7 @@ _ForwardIterator basic_regex<_CharT, _Traits>::__parse_character_escape(
39113911
++__first;
39123912
break;
39133913
default:
3914-
if (*__first != '_' && !__traits_.isctype(*__first, ctype_base::alnum)) {
3914+
if (!__traits_.isctype(*__first, ctype_base::alnum)) {
39153915
if (__str)
39163916
*__str = *__first;
39173917
else

libcxx/test/std/re/re.alg/re.alg.match/ecma.pass.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
//===----------------------------------------------------------------------===//
88
//
99

10-
// XFAIL: FROZEN-CXX03-HEADERS-FIXME
11-
1210
// <regex>
1311

1412
// template <class BidirectionalIterator, class Allocator, class charT, class traits>

0 commit comments

Comments
 (0)