1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-08 04:49:12 +02:00

Add more cases to static filtering checklist

This commit is contained in:
Raymond Hill 2020-07-27 10:32:55 -04:00
parent 3df978ffd5
commit 7c63f252d0
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -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