Hi, just writing this out of pure curiosity. Background:
1. I thought I could write regex literals like this in an edn file containing configurations: :some-parameter #"foo" But reading this with e.g. clojure.edn/read-string causes an error No dispatch macro for: " 2. I thought I can introduce my own reader tag https://github.com/duct-framework/core/pull/21 but then thought it would be nice if there was a #regex "foo" reader tag defined in clojure itself. 3. Also noticed that this round trip does not work: (clojure.edn/read-string (pr-str #"foo")) 4. The idea of a regex tag has been declined https://github.com/edn-format/edn/issues/26 I agree it is such really minor itch to scratch, but is the recommended approach to use a custom reader tag if one wishes to convey regex over wire? Sorry for the attention and thanks! -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.