Welcome! Please see the About page for a little more info on how this works.

+2 votes
in Clojure by

Just like http://dev.clojure.org/jira/browse/CLJ-1719 , this helps with clj/cljs compatibility.

by
Rather than the name `pattern?`, I'd suggest the name `regexp?`, for consistency with ClojureScript (which has long had this function).

3 Answers

0 votes
by

Comment made by: bbloom

See also http://dev.clojure.org/jira/browse/CLJS-1242

0 votes
by

Comment made by: bbloom

Whoops, uploaded wrong patch. Tests actually pass in this v02 patch.

0 votes
by
Reference: https://clojure.atlassian.net/browse/CLJ-1720 (reported by bbloom)
ago by
I added a patch that uses `regexp?` to match Clojurescript's existing predicate.
...