-
Notifications
You must be signed in to change notification settings - Fork 900
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
Support more complicated path_regexp #826
Comments
We would be happy to take a patch for this. An accompanying test to show the improvement would be excellent too. |
bcolucci
added a commit
to bcolucci/sops
that referenced
this issue
Mar 5, 2021
bcolucci
added a commit
to bcolucci/sops
that referenced
this issue
Mar 8, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is it possible to support more complicated regexp in path_regex? Like mentioned in the documentation here https://golang.org/pkg/regexp/#MatchString
"More complicated queries need to use Compile and the full Regexp interface"
so the match has to be implemented more like this
I think this is the reason for issues like this one #480
We also had problems to specify a path which is including the filename and not just a filename. Especially if there are '/' in the path it's not working at all and we get the message 'no matching creation rules found'
Example not working (no matter if '/' are escaped or not!):
Examples working:
The text was updated successfully, but these errors were encountered: