mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01:00
again, no need to capture in regex
This commit is contained in:
parent
c5c8edc4d1
commit
e847d7f9f4
1 changed files with 1 additions and 1 deletions
|
@ -773,7 +773,7 @@ FilterContainer.prototype.compileGenericSelector = function(parsed, out) {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
FilterContainer.prototype.reClassOrIdSelector = /^([#.][\w-]+)$/;
|
FilterContainer.prototype.reClassOrIdSelector = /^[#.][\w-]+$/;
|
||||||
FilterContainer.prototype.rePlainSelector = /^[#.][\w-]+/;
|
FilterContainer.prototype.rePlainSelector = /^[#.][\w-]+/;
|
||||||
FilterContainer.prototype.reHighLow = /^[a-z]*\[(?:alt|title)="[^"]+"\]$/;
|
FilterContainer.prototype.reHighLow = /^[a-z]*\[(?:alt|title)="[^"]+"\]$/;
|
||||||
FilterContainer.prototype.reHighMedium = /^\[href\^="https?:\/\/([^"]{8})[^"]*"\]$/;
|
FilterContainer.prototype.reHighMedium = /^\[href\^="https?:\/\/([^"]{8})[^"]*"\]$/;
|
||||||
|
|
Loading…
Reference in a new issue