edn-data icon indicating copy to clipboard operation
edn-data copied to clipboard

Validate characters in keywords, symbols and tags

Open jorinvo opened this issue 3 years ago • 0 comments

To generate valid EDN, we need to validate what characters are allowed in keywords and symbols when generating EDN.

They also must contain not more than one slash, which is not allowed to be the first or last char. And in the case of tags, they even must contain a slash if it's a custom tag provided by the user.

If invalid chars are given, throw an error.

jorinvo avatar Aug 19 '20 06:08 jorinvo