mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-11 09:31:01 +01:00
This commit is contained in:
parent
2ea36d6a7f
commit
fd5f07350c
1 changed files with 2 additions and 2 deletions
|
@ -919,7 +919,7 @@ FilterGenericHnAnchoredHostname.fromSelfie = function(s) {
|
|||
// Regex-based filters
|
||||
|
||||
var FilterRegex = function(s) {
|
||||
this.re = new RegExp(s);
|
||||
this.re = new RegExp(s, 'i');
|
||||
};
|
||||
|
||||
FilterRegex.prototype.match = function(url) {
|
||||
|
@ -946,7 +946,7 @@ FilterRegex.fromSelfie = function(s) {
|
|||
/******************************************************************************/
|
||||
|
||||
var FilterRegexHostname = function(s, domainOpt) {
|
||||
this.re = new RegExp(s);
|
||||
this.re = new RegExp(s, 'i');
|
||||
this.domainOpt = domainOpt;
|
||||
this.hostnameTest = hostnameTestPicker(this);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue