User:EarwigBot/Copyvios/Exclusions/Instructions
From WikiProjectMed
Jump to navigation
Jump to search
- Example entry
url = <nowiki>http://example.com</nowiki>
- The above example will match
http://example.com/foo/bar
but not http://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's re.match()
against a lowercase form of the URL with no protocol.
- Exceptions are protocol-insensitive (so the rule
http://en.wikipedia.org
will match https://en.wikipedia.org/wiki/Foo
). Please use http://
.
- Anything following
#
on a line is ignored.