mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 11:58:00 +01:00
Fixing regexp in options.js. Thanks Konstantin.
This commit is contained in:
@@ -227,7 +227,7 @@ liberator.Options = function () //{{{
|
||||
|
||||
var matches;
|
||||
// 1 - type, 2 - name, 3 - +-., 4 - expr
|
||||
if (matches = args.match(/([$@&])?([\w:]+)\s*([+-.])?=\s*(.+)/))
|
||||
if (matches = args.match(/([$@&])?([\w:]+)\s*([-+.])?=\s*(.+)/))
|
||||
{
|
||||
if (!matches[1])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user