Skip to content

Commit

Permalink
Update fix to regex library
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Nov 19, 2022
1 parent 4fb4ee1 commit c818065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/regexanalyzer/regex.js
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@ var rnd = function( a, b ){ return Math.round((b-a)*Math.random()+a); },
if ( isRange && escaped === false && ']' === ch )
{
isRange = false;
chars.push('-');
chars.push(range[0], '-');
}

if ( isRange )
Expand Down

0 comments on commit c818065

Please sign in to comment.