From 0207c1dca60397f23f5e108a83bcc3b0970c74c9 Mon Sep 17 00:00:00 2001 From: gwarser Date: Sat, 11 Dec 2021 21:14:07 +0100 Subject: [PATCH] '_' / noop --- Static-filter-syntax.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Static-filter-syntax.md b/Static-filter-syntax.md index fb9f452..ba09faf 100644 --- a/Static-filter-syntax.md +++ b/Static-filter-syntax.md @@ -161,6 +161,16 @@ If the filter is a filename, it is ideal to add `^` at one or both ends: *** +#### `_` aka "noop" + +Just a placeholder. + +[Implemented](https://github.com/uBlockOrigin/uBlock-issues/issues/1356#issuecomment-735280463) to resolve ambiguity in `$removeparam` filters with Regular Expression parameters being detected as plain Regular Expression filter, because of leading and trailing slashes: + + /ad-$removeparam=/^ss$/,_ + +*** + #### `*` aka "all URLs" The wildcard character `*` can be used to apply a filter to **all** URLs. This is not recommended though, unless you further narrow the filter using filter options. Examples: