mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-05 18:32:30 +01:00
again, no need to capture in regex
This commit is contained in:
parent
c5c8edc4d1
commit
e847d7f9f4
@ -773,7 +773,7 @@ FilterContainer.prototype.compileGenericSelector = function(parsed, out) {
|
||||
}
|
||||
};
|
||||
|
||||
FilterContainer.prototype.reClassOrIdSelector = /^([#.][\w-]+)$/;
|
||||
FilterContainer.prototype.reClassOrIdSelector = /^[#.][\w-]+$/;
|
||||
FilterContainer.prototype.rePlainSelector = /^[#.][\w-]+/;
|
||||
FilterContainer.prototype.reHighLow = /^[a-z]*\[(?:alt|title)="[^"]+"\]$/;
|
||||
FilterContainer.prototype.reHighMedium = /^\[href\^="https?:\/\/([^"]{8})[^"]*"\]$/;
|
||||
|
Loading…
Reference in New Issue
Block a user