auto-core.string.regexp
Regular expressions
Regular expression syntax is based on host: * Clojure * Clojurescript
Have an objective to have a seamless access to regular expressions between cljs and clj
assemble-re
(assemble-re & strs-or-res)
Build one regular expression assembling all elements from strs-or-res
, that could be: * Some strings * Some regular expression object
Returns a regular expression
ends-a-string
Regular expression for the end of the input string. (the whole input and not the line)
full-sentence-re
(full-sentence-re re)
Returns a regular expression matching re
exactly
starts-a-string
Regular expression for the start of the input string. (the whole input and not the line)
stringify
(stringify re)
Turns re
- a regular expression object - to a clojure string.