OpenNTF / org.openntf.nsfodp

Maven and Eclipse tooling for working with NSF on-disk-project representations
Apache License 2.0
14 stars 6 forks source link

GlobMatcher should double-escape \ in Windows path matching #293

Closed jesse-gallagher closed 2 years ago

jesse-gallagher commented 2 years ago

Currently, the glob string is composed as just replacing the Unix / with the filesystem's native character. However, on Windows, globs must double-escape backslashes (e.g. "C:\\\\foo" in a literal string instead of "C:\\foo").

Screen Shot 2022-02-03 at 12 08 17 PM