User:EarwigBot/Copyvios/Exclusions/Instructions
Appearance
- Example entry
url = <nowiki>http://example.com</nowiki>
- The above example will match
http://example.com/foo/bar
but nothttp://foobar.example.com
. *
can be used as a wildcard to match all subdomains, including the lack of one.www
is matched even when no subdomain is specified.- Starting a rule with
re:
after the first<nowiki>
tag will cause it to be treated as a regular expression. This match will be done using Python'sre.match()
against a lowercase form of the URL with no protocol. - Exceptions are protocol-insensitive (so the rule
http://en.wikipedia.org
will matchhttps://en.wikipedia.org/wiki/Foo
). Please usehttp://
. - Anything following
#
on a line is ignored.