Add more test patterns

Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/877
This commit is contained in:
Raymond Hill 2020-08-10 10:35:21 -04:00
parent cf11228432
commit c68a7da9ff
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 14 additions and 0 deletions

View File

@ -32,6 +32,13 @@ a*
:: AB :: AB
:: ab # comment :: ab # comment
! valid hosts file entries
0.0.0.0 0.0.0.0.example.com
0.0.0.0 local-host.example.com
0.0.0.0 local.com
0.0.0.0 localhost.com
0.0.0.0 localhost.example.com
! valid options ! valid options
$script,redirect=noop.js $script,redirect=noop.js
*$empty *$empty
@ -68,6 +75,13 @@ $
::/ ab ::/ ab
:: ab$ :: ab$
! ignored hosts file entries
0.0.0.0 0.0.0.0
0.0.0.0 local-host
0.0.0.0 local
0.0.0.0 localhost
0.0.0.0 localhost
! bad regex ! bad regex
/(abc|def/$xhr /(abc|def/$xhr