[all-commits] [llvm/llvm-project] 9d7ca6: [regex] fix uncaught exception when string is like...

Austin via All-commits all-commits at lists.llvm.org
Mon Mar 10 18:12:36 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9d7ca6cdf038dab24fbc5c22a91be36604decb67
      https://github.com/llvm/llvm-project/commit/9d7ca6cdf038dab24fbc5c22a91be36604decb67
  Author: Austin <zhenhangwang at huawei.com>
  Date:   2025-03-11 (Tue, 11 Mar 2025)

  Changed paths:
    M libcxx/include/regex
    M libcxx/test/std/re/re.alg/re.alg.match/ecma.pass.cpp

  Log Message:
  -----------
  [regex] fix uncaught exception when string is like "\\_" (#129348)

`\_ `is a valid identity escape in regular expressions, but previously
libc++ incorrectly treated it as invalid. So I deleted this judgment
fixes #129062



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list