Re:ClojureScript
by fogus on Wednesday July 20, 2011 @08:42PM
(#2788073)
Bear in mind that the wording is very careful. We took great pains to say things like "not currently implemented." ;-)
[ Parent
| on HN ]
"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?
Re:ClojureScript
by ericmoritz on Thursday July 21, 2011 @11:22PM
(#2792287)
I'm sure you can use the native RegExp class:
(def pat (RegExp. "Some(.+)"))