A regexp helpers and enhancements (mostly for cljs).
(escape s)
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.
true
x