Add cljs.core/pattern? predicate

Description

Just like http://dev.clojure.org/jira/browse/CLJS-1241 , this helps with clj/cljs cross-platform development.

Environment

None

Attachments

1

Activity

David Nolen August 14, 2016 at 5:51 PM

Already handled

António Monteiro August 14, 2016 at 5:48 PM

this would be the same as cljs.core/regexp?

Sam Miller July 28, 2015 at 3:27 AM

The patch needs to be updated because of the folder changes

Tested on Linux with V8, SpiderMonkey, and Nashorn. Repljs also functions correctly.

You could have the `pattern?` function point to the `regexp?` function. Maybe there is some reason to keep separate (ability to have non-regex patterns?)

Brandon Bloom May 11, 2015 at 5:36 AM

Note that there already is a cljs.core/regexp?, since it's used in a few places by core.

Brandon Bloom May 3, 2015 at 8:38 PM

Declined

Details

Assignee

Reporter

Patch

Priority

Created May 3, 2015 at 8:35 PM
Updated August 14, 2016 at 5:51 PM
Resolved August 14, 2016 at 5:51 PM