Skip to content

Commit

Permalink
Update escaped chars list for domain modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
slavaleleka authored Aug 20, 2024
2 parents d6cff2d + 97ebcd4 commit 7da0e27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/general/ad-filtering/create-own-filters.md
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ entry_i = ( regular_domain / any_tld_domain / regexp )

- **`regular_domain`** — a regular domain name (`domain.com`). Corresponds the specified domain and its subdomains. It is matched lexicographically.
- **`any_tld_domain`** — a domain name ending with a wildcard character as a [public suffix](https://publicsuffix.org/learn/), e.g. for `example.*` it is `co.uk` in `example.co.uk`. Corresponds to the specified domain and its subdomains with any public suffix. It is matched lexicographically.
- **`regexp`** — a regular expression, starts and ends with `/`. The pattern works the same way as in the basic URL rules, but the characters `/`, `$`, and `|` must be escaped with `\`.
- **`regexp`** — a regular expression, starts and ends with `/`. The pattern works the same way as in the basic URL rules, but the characters `/`, `$`, `,`, and `|` must be escaped with `\`.

:::info

Expand Down

0 comments on commit 7da0e27

Please sign in to comment.