dtao / safe_yaml

Parse YAML safely
MIT License
217 stars 63 forks source link

Account for Ruby's multi-line regular expressions #6

Closed jsl closed 11 years ago

jsl commented 11 years ago
kachick commented 11 years ago

https://github.com/kachick/safe_yaml/commit/6bc4839b71ddf360c377deb90edbbb4b7ee5b104 https://github.com/kachick/safe_yaml/commit/78ee2a1454cb87ed6270b52eb99a672231d38a71

I have tried it too, but then used \z. Is \Z more better than \z in this case?

dtao commented 11 years ago

Nice, thanks @jsl and @kachick! (Just read the article from the Rails docs—learned something new!)