This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regex: Remove FOLDCHAR regnode type
authorKarl Williamson <public@khwilliamson.com>
Sat, 24 Dec 2011 03:19:27 +0000 (20:19 -0700)
committerKarl Williamson <public@khwilliamson.com>
Thu, 19 Jan 2012 18:58:19 +0000 (11:58 -0700)
commitfa01018c102d8360898153b9f4b062716ad06702
tree4cd4070d320abb9936fe0d2a08a732c597637def
parentbb9144850c8033592c0187ea712691a97703385e
regex: Remove FOLDCHAR regnode type

This node type hasn't been used since 5.14.0.  Instead an ANYOFV node
was generated where formerly a FOLDCHAR node would have been used.  The
ANYOFV was used because it already existed and was up-to-date, whereas
FOLDCHAR would have needed some bug fixes to adapt it, even though it
would be faster in execution than ANYOFV; so the code for it was
retained in case it was needed.

However, both these solutions were defective, and a previous commit has
changed things to a different type of solution entirely.  Thus FOLDCHAR
is obsolescent and can be removed, though the code in it was used as a
base for some of the new solutions.
regcomp.c
regcomp.sym
regexec.c
regnodes.h