From fb79f41c388b02ea6758d67861f131baf3fd21a6 Mon Sep 17 00:00:00 2001 From: Erik Osheim Date: Mon, 10 Aug 2009 15:29:35 -0400 Subject: [PATCH] simple array highlighting bugfix --HG-- branch : pmacs2 --- mode/perl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mode/perl.py b/mode/perl.py index cbaf4a0..6829bb0 100644 --- a/mode/perl.py +++ b/mode/perl.py @@ -52,7 +52,7 @@ scalar_rules = [ PatternRule('perl.array', r"\@(?= *{)"), PatternRule('perl.array', r'\@[_\+\-]'), PatternRule('perl.array', r"\@\$*" + word2), - PatternRule('perl.array', r'\$' + word2 + '(?= *\[)'), + PatternRule('perl.array', r'\$' + word2 + '(?=\[)'), PatternRule('perl.hash', r"\%(?= *{)"), PatternRule('perl.hash', r'\%(?:[!]|^H)'),