[libcxx-commits] [libcxx] [regex] fix uncaught exception when string is like "\\_" (PR #129348)
Mark de Wever via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Mar 1 04:51:45 PST 2025
================
@@ -31,6 +31,7 @@ int main(int, char**)
test("\\(a[bc]\\)", 0);
test("\\(a\\([bc]\\)\\)", 0);
test("(a([bc]))", 2);
+ test("\\$\\_se", 0);
----------------
mordante wrote:
I really like to see a test where it shows the regex works correctly.
https://github.com/llvm/llvm-project/pull/129348
More information about the libcxx-commits
mailing list