From 378c8fcf20c1d393d05192800c8a8d976bc30abc Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Fri, 28 Sep 2007 13:28:16 +0000 Subject: [PATCH] allow for option names with underscores --- 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 1079c428..11ed0cb5 100644 --- a/chrome/content/vimperator/commands.js +++ b/chrome/content/vimperator/commands.js @@ -1027,7 +1027,7 @@ function Commands() //{{{ else { // 1 2 3 4 5 6 - var matches = args.match(/^\s*(no|inv)?([a-z]+)([?&!])?(([+-])?=(.*))?/); + var matches = args.match(/^\s*(no|inv)?([a-z_]+)([?&!])?(([+-])?=(.*))?/); if (!matches) { vimperator.echoerr("E518: Unknown option: " + args);