make regexp output compatible with clojurescript