mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 17:57:59 +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;
|
||||
}
|
||||
// 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++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user