Update fix to regex library

Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/2374
This commit is contained in:
Raymond Hill 2022-11-19 09:54:34 -05:00
parent 4fb4ee1915
commit c818065c69
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 1 additions and 1 deletions

View File

@ -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 )