Skip to main content

re-find

functionv1.7

cljs.core/re-find

Available in:BBCLJCLJS
(re-find [re s])
Returns the first regex match, if any, of s to re, using re.exec(s). Returns a vector, containing first the matching substring, then any capturing groups if the regular expression contains capturing groups.

No examples yet. Be the first to add one!