From e597ea140251e1028b38b58d737c750e3f3aaf14 Mon Sep 17 00:00:00 2001 From: moculus Date: Mon, 2 Apr 2007 15:25:57 +0000 Subject: [PATCH] --HG-- branch : pmacs2 --- highlight2.py | 2 +- lex2_perl.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/highlight2.py b/highlight2.py index 4cdb1a6..aa70d18 100644 --- a/highlight2.py +++ b/highlight2.py @@ -46,4 +46,4 @@ class Highlighter: self.tokens[token.y].append(token) def update(self, lines): - \ No newline at end of file + pass \ No newline at end of file diff --git a/lex2_perl.py b/lex2_perl.py index 1a2e2b3..c1052fc 100755 --- a/lex2_perl.py +++ b/lex2_perl.py @@ -212,7 +212,7 @@ class PerlGrammar(Grammar): # match regexes RegionRule( name=r'match', - start=r'(?:(?<==~)|(?<=!~)|(?<=\()) *(?P/)', + start=r'(?:(?<==~)|(?<=!~)|(?<=\()|(?<=split)) *(?P/)', grammar=StringGrammar(), end=r'/[a-z]*', ),