-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Glob object model support for ** #54
Comments
Thanks! For
At the moment I think you could create three seperate globs like so:
Using the glob builder that might be something like:
Actually you can condense that to two seperate globs, by doing a
However I am not sure I can do better than this seperate glob idea at present - i.e I don't think you can create a single glob, that matchesa single character that is within the range Hopefully that makes sense to you. |
To glob files with a certain extension?
if you want any directory: You can have a look at the test cases as they might help aid you. |
How to select multiple wildcards: |
Closing this for now, hopefully your question is answered but let me know if not. |
@dazinator : Thanks for the detailed responses. I wasn't aware of the .DirectoryWildcard() for some reason. :) |
Your globbing library is pretty nice. I was wondering if there’s a way to glob a pattern like this using the GlobBuilder: [a-zA-Z0-9]**
I can do it with string parsing, Glob.Parse(); but I seek high performance and was wondering if it would be possible to use the GlobBuilder to achieve the same.
new GlobBuilder().LetterInRange('a', 'z').Wildcard().WildCard() -> [a-z]**
.Wildcard().WildCard() doesn't seem to be equivalent to "**".
Also, another thing that’s problematic is being able to do, [a-zA-Z0-9]**.
Finally, I want to glob files with a certain extension for e.g., *.pdb this doesn't seem to work at the moment?
The text was updated successfully, but these errors were encountered: