Liking cljdoc? Tell your friends :D
Clojure only.

luna.core


preclj

(pre & xs)

Takes in a string, regex.Pattern, or vector (with the Luna DSL), converts to a string if not already a string, concatenates the xs, and returns a regex.Pattern of the concatenated xs.

Example usage

user=> (pre "a" #"b" [:match ["c" :when :at-start]])
#"ab^c"
Takes in a string, regex.Pattern, or vector (with the Luna DSL),
converts to a string if not already a string, concatenates the `xs`,
and returns a regex.Pattern of the concatenated `xs`.

Example usage
```clojure
user=> (pre "a" #"b" [:match ["c" :when :at-start]])
#"ab^c"
```
sourceraw docstring

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

× close