Liking cljdoc? Tell your friends :D

rencg.api


re-matches-ncgclj

(re-matches-ncg re s)

Returns the match, if any, of string to pattern, using java.util.regex.Matcher.matches(). Returns a (potentially empty) map of the named-capturing groups in the regex if there was a match, or nil otherwise. Each key in the map is the name of a name-capturing group, and each value is the corresponding value in the string that matched that group.

Returns the match, if any, of string to pattern, using
java.util.regex.Matcher.matches(). Returns a (potentially
empty) map of the named-capturing groups in the regex if there
was a match, or nil otherwise. Each key in the map is the name
of a name-capturing group, and each value is the corresponding
value in the string that matched that group.
sourceraw docstring

re-named-groupsclj

(re-named-groups re)

Returns a sequence of the names of all of the named-capturing groups in the given regular expression. Note: JDK-agnostic workaround for https://bugs.openjdk.org/browse/JDK-7032377 (which is fixed in JDK 20)

Returns a sequence of the names of all of the named-capturing
groups in the given regular expression.
Note: JDK-agnostic workaround for https://bugs.openjdk.org/browse/JDK-7032377
(which is fixed in JDK 20)
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close