Currently it's checked in three places, including one place that's at
regex runtime.
There is no need to do runtime check, as all uses and definitions of
subexpress is known at regex compile-time.
This fixes PR34297.
Paths
| Differential D37956
[libc++] Check back reference subscript overflow in a single place. Needs ReviewPublic Authored by timshen on Sep 16 2017, 10:22 PM.
Details
Summary Currently it's checked in three places, including one place that's at There is no need to do runtime check, as all uses and definitions of This fixes PR34297.
Diff Detail
Revision Contents
Diff 115555 libcxx/include/regex
libcxx/test/std/re/re.regex/re.regex.construct/bad_backref.pass.cpp
|