Closed saeidscorp closed 4 years ago
Thanks, this looks like a good idea. :-) Are backslashes not valid characters on other OSes? Do they always mean /
?
Hmmm, Not sure, but Linux allows many characters to be part of file names. (including \
)
I guess that means this:
(map #(s/replace % "\\" "/"))
isn't safe to do, without a check. Maybe you could check FileSystem.getSeparator()
?
I'm closing this, but feel free to reopen it!
Hi Magnar! Despite the more fundamental problem with windows (clj-v8), I added a quick fix to provide the ability to use regexes in windows.
I used #52 to get optimus running. which works fine. (but those changes reside in another branch in my repository)
Any thoughts? ;-)