Skip to main content

re-groups

functionv1.0

clojure.core/re-groups

Available in:BBCLJ
(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.

No examples yet. Be the first to add one!