[libcxx-commits] [libcxx] [libc++] Rewrite std::regex (PR #217680)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Fri Aug 21 08:59:37 PDT 2026


================
@@ -0,0 +1,280 @@
+//===----------------------------------------------------------------------===//
----------------
ldionne wrote:

If we are to do a major rewriting of regex, I think we need to first beef up our test suite in that area, because I am absolutely certain our current test coverage is insufficient. I think we could generate a bunch of regular expressions and inputs, and expected results, and then check against that. The approach would be similar to what we do for testing `__cxa_demangle`.

There might even be existing datasets for the various dialects we support.

https://github.com/llvm/llvm-project/pull/217680


More information about the libcxx-commits mailing list