mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 17:17:57 +01:00
Fix regression causing preventing using -
-prefixed pseudo-elements
Related feedback: - https://github.com/uBlockOrigin/uBlock-issues/issues/89#issuecomment-668701495
This commit is contained in:
parent
2fd63b61a0
commit
dad6599138
1 changed files with 1 additions and 1 deletions
|
@ -1177,7 +1177,7 @@ Parser.prototype.SelectorCompiler = class {
|
||||||
]);
|
]);
|
||||||
this.reSimpleSelector = /^[#.][A-Za-z_][\w-]*$/;
|
this.reSimpleSelector = /^[#.][A-Za-z_][\w-]*$/;
|
||||||
this.div = document.createElement('div');
|
this.div = document.createElement('div');
|
||||||
this.rePseudoClass = /:(?::?after|:?before|:[a-z][a-z-]*[a-z])$/;
|
this.rePseudoClass = /:(?::?after|:?before|:-?[a-z][a-z-]*[a-z])$/;
|
||||||
this.reProceduralOperator = new RegExp([
|
this.reProceduralOperator = new RegExp([
|
||||||
'^(?:',
|
'^(?:',
|
||||||
Array.from(parser.proceduralOperatorTokens.keys()).join('|'),
|
Array.from(parser.proceduralOperatorTokens.keys()).join('|'),
|
||||||
|
|
Loading…
Reference in a new issue