mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-07 03:12:33 +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
@ -1177,7 +1177,7 @@ Parser.prototype.SelectorCompiler = class {
|
||||
]);
|
||||
this.reSimpleSelector = /^[#.][A-Za-z_][\w-]*$/;
|
||||
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([
|
||||
'^(?:',
|
||||
Array.from(parser.proceduralOperatorTokens.keys()).join('|'),
|
||||
|
Loading…
Reference in New Issue
Block a user