Use a full YAML parser
YAML::Tiny
(just as YAML
too) fails to parse the following valid YAML pyyaml
produces:
".*":
"license": |-
GPL-2
"debian/":
"copyright": "Clint Adams <clint@debian.org>\n Joey Hess <joeyh@debian.org>\n Marc\
\ Singer <elf@debian.org>\n Per Andersson <avtobiff@gmail.com>\n Vagrant Cascadian\
\ <vagrant@debian.org>\n Lo\xEFc Minier <lool@debian.org>\n Adam Borowski <kilobyte@angband.pl>"
"license": |-
GPL-2+
YAML::XS
uses libyaml
and parses this just fine.