-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
Description
With the new path_filter parameter (#10980) we support wildcards with * matching a single "segment" of the path and ** matching multiple segments.
Currently we use slightly different simple wildcards in a number of other places, such as when looking up field names. Index wildcards also support a leading - to exclude matches.
I'd like to propose that we standardise the syntax across all APIs that use wildcard matching, as follows:
*matches zero or more characters up to but not including a period.**matches all zero or more characters including a period- multiple patterns can be separated by a comma
, - any pattern can be preceded by a
+to include matches (the default if not specified) or a-to exclude matches - it should be possible to escape any of these characters:
*,+,-,,,\with a preceding\
Relates to #11294