[libcxx-commits] [PATCH] D126705: [libc++][CI][AIX] modify the equivalence classes of regex_match for locale "cs_CZ.ISO8859-2"

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jun 1 10:39:04 PDT 2022


ldionne added inline comments.


================
Comment at: libcxx/test/std/re/re.alg/re.alg.match/basic.locale.pass.cpp:39-40
         const char s[] = "m";
+// AIX supports character equivalence classes. What the contents of the class are depends
+// on the locale and the standards do not specify any locale other than C/POSIX.
+#if defined(_AIX)
----------------
Even after reading the comment, I don't really understand why it needs to be `[=m=]` on AIX and `[=M=]` elsewhere. Can you explain?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126705/new/

https://reviews.llvm.org/D126705



More information about the libcxx-commits mailing list