1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-10-06 09:37:12 +02:00
gorhill 2016-05-26 08:49:59 -04:00
parent 2ea36d6a7f
commit fd5f07350c

View File

@ -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);
};