mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 20:07:59 +01:00
revert changes to :map arg parsing regexp in 1.190
This commit is contained in:
@@ -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 + "<<");
|
||||
|
||||
Reference in New Issue
Block a user