[all-commits] [llvm/llvm-project] 6ba2d7: [libc++] Fixes backreferences for extended grammar.

Louis Dionne via All-commits all-commits at lists.llvm.org
Wed Feb 19 12:59:34 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6ba2d7b166c2e07dfc8328a8253276710619b1fe
      https://github.com/llvm/llvm-project/commit/6ba2d7b166c2e07dfc8328a8253276710619b1fe
  Author: Louis Dionne <ldionne at apple.com>
  Date:   2020-02-19 (Wed, 19 Feb 2020)

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

  Log Message:
  -----------
  [libc++] Fixes backreferences for extended grammar.

The regex backreferences were not properly parsed and used when using
the extended grammar. This change parses them. The issue was found while
working on PR34297.

Thanks to Mark de Wever for the patch!

Differential Revision: https://reviews.llvm.org/D62451




More information about the All-commits mailing list