|Problems? Is your data what you think it is?|
Re: Strange YAML behavior with lists of qr regexp valuesby Anonymous Monk
|on Jan 28, 2013 at 18:33 UTC||Need Help??|
It doesn't seem to have anything to do with the adding of new patters.
Instead, YAML::Syck's LoadFile() function seems to always add a level of brackets around all regexes it reads from a YAML file, even if they already have outer brackets.
Output when changing use YAML::Syck to use YAML:
So yeah, seems to be a YAML::Syck particularity. Whether it is a bug is a matter of opinion I guess, since the regexes do behave the same so nothing should break.