-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
Feature request expose what "pattern" is passed to getPathMatcher (glob function) #32
Comments
@benjamin-asdf Is your use case to pass |
@borkdude I guess a function like
pros:
example (fs/match
"dir"
"regex:.*/subdir/.*\\.json")
(fs/match
"dir"
"glob:*.json")
;still works
(fs/glob
"dir"
"*.json")
|
@benjamin-asdf I added this exactly like you described it. |
@benjamin-asdf Worth mentioning that you can use this library from source in babashka if you add it to your deps and load it with
|
I found myself wanting to put "regex" pattern instead of "glob".
Cheers.
The text was updated successfully, but these errors were encountered: