1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-02 00:42:45 +01:00

code review: this can catch more cases (re d07baef742)

This commit is contained in:
gorhill 2016-09-05 18:56:35 -04:00
parent d07baef742
commit 276d51c4f0

View File

@ -1304,7 +1304,7 @@ var FilterParser = function() {
this.reHasUppercase = /[A-Z]/;
this.reIsolateHostname = /^(\*?\.)?([^\x00-\x24\x26-\x2C\x2F\x3A-\x5E\x60\x7B-\x7F]+)(.*)/;
this.reHasUnicode = /[^\x00-\x7F]/;
this.reWebsocketAny = /^ws[s*]?:\/?\/?\*?$/;
this.reWebsocketAny = /^ws[s*]?(?::\/?\/?)?\*?$/;
this.domainOpt = '';
this.reset();
};