When I am in Clojure, I can use (re-pattern (java.util.regex.Pattern/quote foo))
to exactly match the pattern string with another string. How can I do a similar thing in ClojureScript?
Edit: I also found this - Replicate the functionality of Java's "Pattern.quote" in a JavaScript RegExp