Skip to content

clojure.core/re-matches

View this page on ClojureDocs

Type: function Added: Clojure 1.0 Examples: 3 Runnable: 3
([re s])

Returns the match, if any, of string to pattern, using java.util.regex.Matcher.matches(). Uses re-groups to return the groups.

Examples

by ysph on
by jafingerhut on
by cloojure on

Note by caumond

Here is the java official documentation for pattern specifications

See also


Content from the matching ClojureDocs page, with authors credited on each contribution.