diff options
author | Karl Williamson <khw@cpan.org> | 2018-12-21 08:59:04 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2018-12-25 09:08:10 -0700 |
commit | 20fda8317523a13dd63cdafcc2a2209f13d564f8 (patch) | |
tree | d0cfc9a8104eb136aa21647f67a518657194f67b /perlvars.h | |
parent | 70efdf699a1b0b6fa493d73f244c7c25a45db011 (diff) | |
download | perl-20fda8317523a13dd63cdafcc2a2209f13d564f8.tar.gz |
regcomp.c: qr/[\xFF]/di doesn't have runtime dependencies
Prior to this commit, a class containing U+FF, LATIN SMALL LETTER Y WITH
DIAERESIS, generated an ANYOFD regnode because it thought that what
matched depended on the UTF-8ness of the target string. But it doesn't.
No bugs were introduced because when ANYOFD is encountered the code
looks at some flags to determine what sorts of dependencies to further
look for, and the flags remained clear. But ANYOFD is less desirable
than plain ANYOF, because it adds extra branches to execute.
Tests for this fix will be added in a future commit.
Diffstat (limited to 'perlvars.h')
0 files changed, 0 insertions, 0 deletions