You cannot use regular expressions with @match
, while you can with @include
.
However, @include
will give your users scarier security warnings about the script applying to all sites.
This is even though an @include
expression permits you to be more restrictive about the sites a script applies to (e.g. specifying that part of a URL be numeric using the regex fragment [0-9]+
, or using ^https?://
to apply to a script just those two schemes, instead of the more general non-regex globbing operator *
used for each of those cases in @match
, which causes the script to apply more broadly).