mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-06 09:37:12 +02:00
this fixes #1468
This commit is contained in:
parent
fb551417ed
commit
5a2e9bc1a7
@ -1287,8 +1287,8 @@ FilterBucket.fromSelfie = function() {
|
||||
/******************************************************************************/
|
||||
|
||||
var FilterParser = function() {
|
||||
this.reHostnameRule1 = /^[0-9a-z][0-9a-z.-]*[0-9a-z]$/;
|
||||
this.reHostnameRule2 = /^\**[0-9a-z][0-9a-z.-]*[0-9a-z]\^?$/;
|
||||
this.reHostnameRule1 = /^[0-9a-z][0-9a-z.-]*[0-9a-z]$/i;
|
||||
this.reHostnameRule2 = /^\**[0-9a-z][0-9a-z.-]*[0-9a-z]\^?$/i;
|
||||
this.reCleanupHostnameRule2 = /^\**|\^$/g;
|
||||
this.reHasWildcard = /[\^\*]/;
|
||||
this.reCanTrimCarets1 = /^[^*]*$/;
|
||||
|
Loading…
Reference in New Issue
Block a user