edn-format / edn

Extensible Data Notation
2.61k stars 96 forks source link

support for formfeed character #55

Closed shaunxcode closed 10 years ago

shaunxcode commented 11 years ago

It appears that \formfeed (\f) is also a valid character along with \newline \return etc. If this is the case the spec should be updated to reflect it? (I am basing its validity on the basis that clojure.edn/read-string accepts it).

richhickey commented 10 years ago

It's not allowed. At some point edn/read-string should disallow, but edn/read-string's purpose is not to validate incorrect edn, but rather to read correct edn.