mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 00:17:58 +01:00
allow multiple ranges to be specified to :delmarks - missing global regexp flag
This commit is contained in:
@@ -401,7 +401,7 @@ function Commands() //{{{
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// check for illegal ranges - only allow a-z A-Z 0-9
|
// check for illegal ranges - only allow a-z A-Z 0-9
|
||||||
if (matches = args.match(/[a-zA-Z0-9]-[a-zA-Z0-9]/))
|
if (matches = args.match(/[a-zA-Z0-9]-[a-zA-Z0-9]/g))
|
||||||
{
|
{
|
||||||
for (var i = 0; i < matches.length; i++)
|
for (var i = 0; i < matches.length; i++)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user