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