From 7c63f252d0ec9c3f46e0155b37f25c7cccc289c7 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Mon, 27 Jul 2020 10:32:55 -0400 Subject: [PATCH] Add more cases to static filtering checklist --- .../static-filtering-parser-checklist.txt | 24 +++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/docs/tests/static-filtering-parser-checklist.txt b/docs/tests/static-filtering-parser-checklist.txt index dd3bf5ad0..85daa48dd 100644 --- a/docs/tests/static-filtering-parser-checklist.txt +++ b/docs/tests/static-filtering-parser-checklist.txt @@ -20,8 +20,17 @@ ! valid patterns a* -|* -||* +*$xhr +|*$xhr +|$xhr +||*$xhr +||$xhr +||*|$xhr + +! valid hosts file entries +:: ab +:: AB +:: ab # comment ! valid options $script,redirect=noop.js @@ -47,6 +56,17 @@ a | || $ +* +|* +||* +||*| + +! bad hosts file entries +:: a +:: ab/ +:: ab/ # comment +::/ ab +:: ab$ ! bad regex /(abc|def/$xhr