Skip to content

clojure.core/re-groups

View this page on ClojureDocs

Type: function Added: Clojure 1.0 Examples: 3 Runnable: 0
([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.

Examples

by OnesimusUnbound on . May have evaluation errors.
by jgrodziski on . May have evaluation errors.
by cloojure on . May have evaluation errors.

See also


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