mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 09:02:32 +02:00
allow multiple ranges to be specified to :delmarks - missing global regexp flag
This commit is contained in:
1 parent
125781daf6
commit
d8a68f1156
1 file changed
+1
-1
@@ -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