A regexp helpers and enhancements (mostly for cljs).
A regexp helpers and enhancements (mostly for cljs).
(enhace re)
Enhace the regexp instance with unicode support. This is noop in JVM because it already works perfectly with unicode.
Enhace the regexp instance with unicode support. This is noop in JVM because it already works perfectly with unicode.
(escape s)
Escapes characters in the string that are not safe to use in a RegExp.
Escapes characters in the string that are not safe to use in a RegExp.
(regexp? x)
Return true
if x
is a regexp pattern
instance.
Return `true` if `x` is a regexp pattern instance.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close