From a869261bba3422249541aaf4328aff6416e29edd Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Thu, 16 Aug 2007 15:56:02 +0000 Subject: [PATCH] revert changes to :map arg parsing regexp in 1.190 --- chrome/content/vimperator/commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 + "<<");