I'm looking for documentation describing Google Chrome's glob/wildcard/pattern syntax used in block/allow lists for content settings.
If you're using Chrome, these settings pages are accessible via urls like:
There are several other pages that use the same url matching syntax. When you click "Add", the form displays the example text,
[*.]example.com. The square brackets appear to be necessary when using the wildcard pattern, as omitting them results in the message,
Not a valid web address.
Official documentation or source code would be nice, but a plain old BNF is ideal.
I have found two related pages that describe url pattern matching in Chrome, but neither of them apply to this case. Please don't reference them unless it turns out that I've misunderstood their relevance (neither document the required square brackets):