improve glob highlighting

--HG--
branch : pmacs2
This commit is contained in:
Erik Osheim 2010-04-03 23:49:44 -04:00
parent 976482cda2
commit 75bc5f1092
1 changed files with 1 additions and 1 deletions

View File

@ -258,7 +258,7 @@ PerlGrammar.rules = [
PatternRule('perl.class', word2 + "(?=->)"),
PatternRule('perl.glob', r'\*(?= *{)'),
PatternRule('perl.glob', r'(?:(?<=[^a-zA-Z0-9_])|(?<=^)) *\*' + word2),
PatternRule('perl.glob', r'(?:(?<=[^a-zA-Z0-9_])|(?<=^)) *\*\$*' + word2),
# some basic stuff
PatternRule('delimiter', r"::|->|=>|(?<!:):(?!=:)|[,;=\?(){}\[\]\(\)]"),