cuerdas.regexp

A regexp helpers and enhancements (mostly for cljs).

escape

(escape s)

Escapes characters in the string that are not safe to use in a RegExp.

regexp?

(regexp? x)

Return true if x is a regexp pattern instance.