diff --git a/chrome/content/vimperator/commands.js b/chrome/content/vimperator/commands.js index 2c89a7d9..2e6cd324 100644 --- a/chrome/content/vimperator/commands.js +++ b/chrome/content/vimperator/commands.js @@ -598,7 +598,7 @@ function Commands() //{{{ return; } - var matches = args.match(/^([^\s]+)\s+(.+)$/); + var matches = args.match(/^([^\s]+)(?:\s+(.+))?$/) var [lhs, rhs] = [matches[1], matches[2]]; // alert(">>" + lhs + "<<");