rclone/fs/filter
Nick Craig-Wood 268b808bf8 filter: add {{ regexp }} syntax to pattern matches - fixes #4074
There has been a desire from more advanced rclone users to have regexp
filtering as well as the glob filtering.

This patch adds regexp filtering using this syntax `{{ regexp }}`
which is currently a syntax error, so is backwards compatibile.

This means regexps can be used everywhere globs can be used, and that
they also can be mixed with globs in the same pattern, eg `*.{{jpe?g}}`
2022-03-03 17:16:28 +00:00
..
filterflags Use binary prefixes for size and rate units 2021-04-27 02:25:52 +03:00
filter.go Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
filter_test.go filter: add {{ regexp }} syntax to pattern matches - fixes #4074 2022-03-03 17:16:28 +00:00
glob.go filter: add {{ regexp }} syntax to pattern matches - fixes #4074 2022-03-03 17:16:28 +00:00
glob_test.go filter: add {{ regexp }} syntax to pattern matches - fixes #4074 2022-03-03 17:16:28 +00:00