mirror of https://github.com/gorhill/uBlock.git
Update fix to regex library
Related issue: - https://github.com/uBlockOrigin/uBlock-issues/issues/2374
This commit is contained in:
parent
4fb4ee1915
commit
c818065c69
|
@ -1022,7 +1022,7 @@ var rnd = function( a, b ){ return Math.round((b-a)*Math.random()+a); },
|
||||||
if ( isRange && escaped === false && ']' === ch )
|
if ( isRange && escaped === false && ']' === ch )
|
||||||
{
|
{
|
||||||
isRange = false;
|
isRange = false;
|
||||||
chars.push('-');
|
chars.push(range[0], '-');
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( isRange )
|
if ( isRange )
|
||||||
|
|
Loading…
Reference in New Issue