This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Revamp S_regatom() handling of non-UTF-8 folds
authorKarl Williamson <khw@cpan.org>
Thu, 14 Nov 2019 20:30:23 +0000 (13:30 -0700)
committerKarl Williamson <khw@cpan.org>
Sat, 16 Nov 2019 17:49:19 +0000 (10:49 -0700)
commit001043e409f1b49671d4fc1e7db3561c9013e1ef
tree7e50e0c9f3e6b4eb2e67c2f8281811ee107a5499
parent5522bcf4a3f8ed387c2b21a4d599473a1eb5f54c
Revamp S_regatom() handling of non-UTF-8 folds

This accomplishes two things.  One is that prior to this commit, a
character being added to the node could set some flags before we
determine that the character won't even fit in the node.  So the flags
get set inappropriately.  This may be harmless except for performance
penalties; I don't know.

The other thing it does is to make sure 'ender' is not changed in the
loop.  A future commit with depend on that.
regcomp.c