1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 17:57:59 +01:00

revert changes to :map arg parsing regexp in 1.190

This commit is contained in:
Doug Kearns
2007-08-16 15:56:02 +00:00
parent 0719b09009
commit a869261bba

View File

@@ -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 + "<<");