Dispatcher config: how can I use a regex in a cache rules filter
In my dispatcher config in the cache section, I have several rules filters.
The documentation describes how to use glob patterns.
But I would also like to use a regex (similar to the filters section).
E.g.
/cache
/rules
/0000 { /glob "*" /type "deny" }
/0010 { /url '^/etc/.*[/.-]([0-9a-f]{20}|[0-9a-f]{32})\.(css|js|woff2?|svg|ico|png)' /type "allow" }
But that does not work, I get an error in the log saying
Entry must have either glob or a combination of regex/path/selectors/extension/suffix.
How does it work?