Closed xavi closed 6 years ago
Because in ClojureScript, (str #"\d")
evaluates to "/\\d/"
while in Clojure it evaluates to "\\d"
. I have no idea why this is the case.
I see. Thanks!
Maybe ClojureScript behavior comes from JavaScript behavior, where
(new RegExp('\\d')).toString()
// => "/\d/"
In https://github.com/alexanderkiel/phrase#more-complex-example , why this code...
is not simply...?