diff --git a/chrome/content/vimperator/commands.js b/chrome/content/vimperator/commands.js index 1983df55..0a20f4d1 100644 --- a/chrome/content/vimperator/commands.js +++ b/chrome/content/vimperator/commands.js @@ -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++) {