[libcxx-commits] [PATCH] D62451: Regex backreference [1/3] Fixes backreferences for extended grammar.
Mark de Wever via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Sat May 25 11:55:58 PDT 2019
Mordante created this revision.
Mordante added a reviewer: mclow.lists.
Herald added subscribers: libcxx-commits, christof.
Herald added a project: libc++.
The regex backreferences were not properly parsed and used when using
the extended grammar. This change parses them and throws an exception
if an invalid backreference is used.
The issue was found while working on bug 34297.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D62451
Files:
libcxx/include/regex
libcxx/test/std/re/re.alg/re.alg.match/extended.pass.cpp
libcxx/test/std/re/re.alg/re.alg.search/extended.pass.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62451.201416.patch
Type: text/x-patch
Size: 5414 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190525/bc087036/attachment-0001.bin>
More information about the libcxx-commits
mailing list