Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: lib/content/elemHideEmulation.js

Issue 29770601: Issue 6649 - Allow u flag in :-abp-contains() (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore/
Patch Set: Add tests Created May 5, 2018, 2 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | test/browser/elemHideEmulation.js » ('j') | test/browser/elemHideEmulation.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/content/elemHideEmulation.js
===================================================================
--- a/lib/content/elemHideEmulation.js
+++ b/lib/content/elemHideEmulation.js
@@ -171,17 +171,17 @@
subtree.querySelector(selector);
}
function scopedQuerySelectorAll(subtree, selector)
{
return scopedQuerySelector(subtree, selector, true);
}
-const regexpRegexp = /^\/(.*)\/([im]*)$/;
+const regexpRegexp = /^\/(.*)\/([imu]*)$/;
/**
* Make a regular expression from a text argument. If it can be parsed as a
* regular expression, parse it and the flags.
* @param {string} text the text argument.
* @return {?RegExp} a RegExp object or null in case of error.
*/
function makeRegExpParameter(text)
« no previous file with comments | « no previous file | test/browser/elemHideEmulation.js » ('j') | test/browser/elemHideEmulation.js » ('J')

Powered by Google App Engine
This is Rietveld