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