mirror of https://github.com/gorhill/uBlock.git
code review for 138e1bf558
(oops)
This commit is contained in:
parent
138e1bf558
commit
bf0654b5ed
|
@ -494,7 +494,7 @@
|
||||||
// Do not discard unknown pseudo-elements.
|
// Do not discard unknown pseudo-elements.
|
||||||
|
|
||||||
api.compileSelector = (function() {
|
api.compileSelector = (function() {
|
||||||
var reAfterBeforeSelector = /^(.+?)(::?after|::?before|::[a-z-])$/,
|
var reAfterBeforeSelector = /^(.+?)(::?after|::?before|::[a-z-]+)$/,
|
||||||
reStyleSelector = /^(.+?):style\((.+?)\)$/,
|
reStyleSelector = /^(.+?):style\((.+?)\)$/,
|
||||||
reStyleBad = /url\([^)]+\)/,
|
reStyleBad = /url\([^)]+\)/,
|
||||||
reExtendedSyntax = /\[-(?:abp|ext)-[a-z-]+=(['"])(?:.+?)(?:\1)\]/,
|
reExtendedSyntax = /\[-(?:abp|ext)-[a-z-]+=(['"])(?:.+?)(?:\1)\]/,
|
||||||
|
|
Loading…
Reference in New Issue