mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-07 11:22:38 +01:00
code review: this can catch more cases (re d07baef742
)
This commit is contained in:
parent
d07baef742
commit
276d51c4f0
@ -1304,7 +1304,7 @@ var FilterParser = function() {
|
|||||||
this.reHasUppercase = /[A-Z]/;
|
this.reHasUppercase = /[A-Z]/;
|
||||||
this.reIsolateHostname = /^(\*?\.)?([^\x00-\x24\x26-\x2C\x2F\x3A-\x5E\x60\x7B-\x7F]+)(.*)/;
|
this.reIsolateHostname = /^(\*?\.)?([^\x00-\x24\x26-\x2C\x2F\x3A-\x5E\x60\x7B-\x7F]+)(.*)/;
|
||||||
this.reHasUnicode = /[^\x00-\x7F]/;
|
this.reHasUnicode = /[^\x00-\x7F]/;
|
||||||
this.reWebsocketAny = /^ws[s*]?:\/?\/?\*?$/;
|
this.reWebsocketAny = /^ws[s*]?(?::\/?\/?)?\*?$/;
|
||||||
this.domainOpt = '';
|
this.domainOpt = '';
|
||||||
this.reset();
|
this.reset();
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user