ingydotnet / yaml-pm

YAML Perl Module
http://search.cpan.org/dist/YAML/
20 stars 26 forks source link

Fix parsing of quoted strings #188

Closed perlpunk closed 6 years ago

perlpunk commented 6 years ago

This fixes #187. It might also fix #186 but I haven't been able to reproduce it yet.

I added a test for quoted strings without ending quote

perlpunk commented 6 years ago

I changed the regex for removing the closing quote a bit so that it removes also spaces after it, so it behaves exactly like before. Squashed and pushed.

@ingydotnet Can you please have a look?