-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
Alternatives not working with slashes properly #25
Comments
Oops, I totally responded to this in my head and meant to get to it right away, but got distracted! That definitely sounds like an issue; I'll take a look first chance I get. Thanks for the detailed report! |
Ugh, I'm having some trouble implementing this... I think the best way to implement it would be a rewrite, which I'm trying to avoid, but it's getting messy. Might be a while until I get around to fixing this. |
@karlism: Good news! I spent the day on it and I just cut v1.2.0 which I think will work for you. I had to make a lot of changes to the code, so it's possible that a bug or two crept in, but it's passing all of my tests plus a few I added specifically for this feature. Let me know if you run into any problems! |
@bmatcuk, thanks a lot for working on it! |
@bmatcuk, I did some test and unfortunately I cannot get it to work as expected:
I made sure that
And |
Nuts, thanks for the thorough testing! I'll see if I can get some fixes ASAP |
@karlism v1.2.1 should fix these issues. I was unable to reproduce an error with the pattern |
@bmatcuk, thank you! I've just tested everything and it works properly now. |
You're welcome! Let me know if you run into any other trouble with doublestar =) |
Hello,
Alternatives in glob search patterns seem to not be working properly, when they contain slashes. According to documentation, it should be possible to escape special characters by using
\
, but it doesn't seem to work:Steps to reproduce:
These patterns are working perfectly fine in both
ksh
andbash
:Being able to have full path (and slashes) in pattern is required to be able to find log files in different directories on the system (like
/var/log
&/opt/application/logs
), more details about existing issue in Loki, which relies ondoublestar
, are available here.Thanks!
The text was updated successfully, but these errors were encountered: