The supported wildcard patterns are a subset of the Unix shell glob patterns. The following wildcard patterns are supported:
- * - match any number of any characters
- [...] - match any character out of a set of characters
- ? - match the preceding character or range zero or one times
- {a,b,...} - match any of the patterns a or b or …
- \ch - escape the special character ch
An example of the use of a wildcard pattern is as follows: “/documents/**/records[0-9][0-9][0-9].{doc,docx,txt}”.
More examples can be found in the Caching Rules Examples.
In addition, we support the globstar wildcard pattern, **, described here.
0 Comments