3 ms·
"ClojureScript does not currently support regular expression literals using #"" " This one seems like a big deal, given how often I find myself using regexes i
by SomeIdiot 15y ago
"ClojureScript does not currently support regular expression literals using #"" "
This one seems like a big deal, given how often I find myself using regexes in clojure. Is it on its way and is there a workaround currently?
- ericmoritz 15y agoI'm sure you can use the native RegExp class: (def pat (RegExp. "Some(.+)"))
- abp 15y agoThere you go: https://github.com/clojure/clojurescript/commit/a201e9d8dec84ac0bca5b51c714b3179ed7444c8 https://github.com/clojure/clojurescript/commit/a201e9d8dec8...