From 988bd5565399af4d9f5beb7b974f888be03a91f5 Mon Sep 17 00:00:00 2001 From: scripthunter7 Date: Wed, 14 Aug 2024 18:27:52 +0200 Subject: [PATCH 1/2] update escaped chars list for domain modifier --- docs/general/ad-filtering/create-own-filters.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/general/ad-filtering/create-own-filters.md b/docs/general/ad-filtering/create-own-filters.md index afbba2d1b09..1460766687c 100644 --- a/docs/general/ad-filtering/create-own-filters.md +++ b/docs/general/ad-filtering/create-own-filters.md @@ -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 From 97ebcd42f19a6a6d8cd1b17ff5ebb1393a991250 Mon Sep 17 00:00:00 2001 From: Slava <45171506+slavaleleka@users.noreply.github.com> Date: Tue, 20 Aug 2024 17:39:37 +0300 Subject: [PATCH 2/2] Update docs/general/ad-filtering/create-own-filters.md Co-authored-by: Helen <58733007+el-termikael@users.noreply.github.com> --- docs/general/ad-filtering/create-own-filters.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/general/ad-filtering/create-own-filters.md b/docs/general/ad-filtering/create-own-filters.md index 1460766687c..1aadab12e14 100644 --- a/docs/general/ad-filtering/create-own-filters.md +++ b/docs/general/ad-filtering/create-own-filters.md @@ -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