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