This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
S_regatom: reinitialize flags if reparsing
authorKarl Williamson <khw@cpan.org>
Thu, 14 Nov 2019 20:46:53 +0000 (13:46 -0700)
committerKarl Williamson <khw@cpan.org>
Sat, 16 Nov 2019 17:49:19 +0000 (10:49 -0700)
commit556a074941f5c3a4ba6613f10be6c56138989a11
treef792e3318dff377ed52137e6f701478af8ca2bef
parent001043e409f1b49671d4fc1e7db3561c9013e1ef
S_regatom: reinitialize flags if reparsing

Sometimes we have to reparse a node.  We need to reset the flags to
avoid contamination from the first parse, where a flag got set by a
character in it that won't actually be in the reparsed version.
regcomp.c