I'm migrating from perl 5.10 to perl 5.16, and I hit this: http://search.cpan.org/dist/perl-5.14.0-RC1/pod/perldelta.pod#Stringification_of_regexes_has_changed
Unfortunately the workaround described in the perldelta doc (using the regexp_pattern import from re) would be very messy to implement, because most of our stringification/instantiation goes through YAML::Dump and YAML::Load (or even YAML::XS::Load or YAML::Any::Load). I could overwrite YAML::Type::regexp::yaml_load, but I don't think that would work in YAML::XS.
Has anyone else encountered this/have any suggestions?
Many thanks!
In reply to YAML: regex stringification has changed by Boldra
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |