mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-06 09:37:12 +02:00
Mind zero quantifier
Related issue: - https://github.com/uBlockOrigin/uBlock-issues/issues/2371
This commit is contained in:
parent
f48c03e531
commit
04b8d495b6
@ -3051,6 +3051,7 @@ Parser.utils = Parser.prototype.utils = (( ) => {
|
||||
return this.tokenizableStrFromNode(node.val);
|
||||
}
|
||||
case 16: /* T_QUANTIFIER, 'Quantifier' */ {
|
||||
if ( node.flags.max === 0 ) { return ''; }
|
||||
const s = this.tokenizableStrFromNode(node.val);
|
||||
const first = this.firstCharCodeClass(s);
|
||||
const last = this.lastCharCodeClass(s);
|
||||
|
Loading…
Reference in New Issue
Block a user