ClojureDocs

Nav

Namespaces

re-groups

clojure.core

Available since 1.0 (source)
  • (re-groups m)
Returns the groups from the most recent match/find. If there are no
nested groups, returns a string of the entire match. If there are
nested groups, returns a vector of the groups, the first element
being the entire match.