Take regex flags (m, i) into account in clojure.string/replace