parent
9be1839db9
commit
e597ea1402
|
@ -46,4 +46,4 @@ class Highlighter:
|
|||
self.tokens[token.y].append(token)
|
||||
|
||||
def update(self, lines):
|
||||
|
||||
pass
|
|
@ -212,7 +212,7 @@ class PerlGrammar(Grammar):
|
|||
# match regexes
|
||||
RegionRule(
|
||||
name=r'match',
|
||||
start=r'(?:(?<==~)|(?<=!~)|(?<=\()) *(?P<delim>/)',
|
||||
start=r'(?:(?<==~)|(?<=!~)|(?<=\()|(?<=split)) *(?P<delim>/)',
|
||||
grammar=StringGrammar(),
|
||||
end=r'/[a-z]*',
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue