-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
back and forward slashes issue #40
Labels
bug
Something isn't working
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
In your description you say "Though Windows may use /, , or \ as path separators, you can only use forward-slashes (/) when specifying glob expressions. Any back-slashes () will be interpreted as escape characters instead of path separators."
Tests I ran suggest it should be the opposite. I am using Windows 7.
I wanted to list all files except some, so I used forward slashes as per your suggestion
'!(**.jpg|css/style.css)'
This kept throwing an error and failing. When I modified it to use back-slashes instead
'!(**.jpg|css\\style.css)'
it worked flawlessly.The text was updated successfully, but these errors were encountered: