23
edits
| Line 20: | Line 20: | ||
* Each rule should list the entire TLD-like domain name, with the subdomain portions separated by dots ('''.''') as usual. A leading dot is optional. | * Each rule should list the entire TLD-like domain name, with the subdomain portions separated by dots ('''.''') as usual. A leading dot is optional. | ||
* The wildcard character '''*''' (asterisk) will match any valid sequence of characters. | * The wildcard character '''*''' (asterisk) will match any valid sequence of characters. | ||
** Wildcards may only appear as | ** Wildcards may only appear as the entire most specific level of a rule. That is, a wildcard must come at the beginning of a line and must be followed by a dot. | ||
* An exclamation mark ('''!''') at the start of a rule marks an exception to a previous wildcard rule. An exception rule will be used instead of any other matching rule. | * An exclamation mark ('''!''') at the start of a rule marks an exception to a previous wildcard rule. An exception rule will be used instead of any other matching rule. | ||
* True TLDs, i.e. domains with no dots, are never needed in the list, but they may be included for completeness. | * True TLDs, i.e. domains with no dots, are never needed in the list, but they may be included for completeness. | ||
edits