On Windows, where File/separator is a string consisting of a single backslash character:
I'd recommend using str/replace calls like the first one above when the things you want to replace are constant strings.
Patch tns-22-v1.patch changes the only 2 calls to clojure.string/replace I found in tools.namespace that could have their second arg be a constant string rather than a regex.
Thanks.
Patch applied in https://github.com/clojure/tools.namespace/commit/a44f709e9e0a35a0eac6ec8eb6a2845c54efb97f
In release 0.2.6