Liking cljdoc? Tell your friends :D

spdx.impl.regexes

Regex utility namespace. Note: this namespace is not part of the public API of clj-spdx and may change without notice.

Regex utility namespace. Note: this namespace is not part of the public
API of clj-spdx and may change without notice.
raw docstring

addition-ref-re-dclj

source

init!clj

(init!)

Initialises this namespace upon first call (and does nothing on subsequent calls), returning nil. Consumers of this namespace are not required to call this fn, as initialisation will occur implicitly anyway; it is provided to allow explicit control of the cost of initialisation to callers who need it.

Note: this method may have a substantial performance cost.

Initialises this namespace upon first call (and does nothing on subsequent
calls), returning `nil`. Consumers of this namespace are not required to call
this fn, as initialisation will occur implicitly anyway; it is provided to
allow explicit control of the cost of initialisation to callers who need it.

Note: this method may have a substantial performance cost.
sourceraw docstring

license-ref-re-dclj

source

re-alternationclj

(re-alternation coll)
(re-alternation group-name coll)

Builds a regex group containing alternations of value of everything in coll (a sequence of Strings), returning a String. Each value in coll will be escaped.

When non-blank, the (optional) group-name parameter turns the group into a named capturing group with that name.

Builds a regex group containing alternations of value of everything in
`coll` (a sequence of `String`s), returning a `String`.  Each value in `coll`
will be escaped.

When non-blank, the (optional) `group-name` parameter turns the group into a
named capturing group with that name.
sourceraw docstring

re-concatclj

(re-concat & res)

Concatenate all of the given Patterns or Strings into a single Pattern.

Concatenate all of the given `Pattern`s or `String`s into a single `Pattern`.
sourceraw docstring

re-escapeclj

(re-escape s)

Escapes s (a String) for use in a regex. Returns a String.

Escapes `s` (a `String`) for use in a regex. Returns a `String`.
sourceraw docstring

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

× close