From d44c54a47794e1f466e2fef7272533f9a20fa90a Mon Sep 17 00:00:00 2001 From: gorhill Date: Fri, 13 Oct 2017 09:52:17 -0400 Subject: [PATCH] code review: diregard letter case when validating popup filters as popunder ones --- src/js/tab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/tab.js b/src/js/tab.js index f4929bf30..4696b9959 100644 --- a/src/js/tab.js +++ b/src/js/tab.js @@ -664,7 +664,7 @@ vAPI.tabs.onPopupUpdated = (function() { if ( logData.token === µb.staticNetFilteringEngine.dotTokenHash ) { return result; } - var re = new RegExp(logData.regex), + var re = new RegExp(logData.regex, 'i'), matches = re.exec(popunderURL); if ( matches === null ) { return 0; } var beg = matches.index,