I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit b4a778ab authored by str4d's avatar str4d
Browse files

Dataspec highlighter fixes

parent a05ee1ec
No related branches found
No related tags found
No related merge requests found
......@@ -31,11 +31,11 @@ class DataSpecLexer(RegexLexer):
'content': [
(r'(\s*)(\+-)', bygroups(Text, Text), '#pop', 'boundary'),
(r'(\s*)([\+|])$', bygroups(Text, Text), '#pop'),
(r'(\s*)(\.\.\.)(\s)', bygroups(Text, Generic.Strong, Text)),
(r'(\s*)(\.)(\s*)(\.)(\s*)(\.)(\s)', bygroups(Text, Generic.Strong, Text, Generic.Strong, Text, Generic.Strong, Text)),
(r'(\s*)(\.\.\.)$', bygroups(Text, Generic.Strong), '#pop'),
(r'(\s*)(~)$', bygroups(Text, Generic.Strong), '#pop'),
(r'(\s*)([\w=;]+)(\s[\w=;]+)*$', bygroups(Text, Name.Tag, Name.Tag), '#pop'),
(r'(\s*)([\w=;]+)(\s[\w=;]+)*', bygroups(Text, Name.Tag, Name.Tag)),
(r'(\s*)([\w=;]+)$', bygroups(Text, Name.Tag), '#pop'),
(r'(\s*)([\w=;]+)', bygroups(Text, Name.Tag)),
(r'(\s*)(\|)', bygroups(Text, Text)),
(r'(\s*)(\()', bygroups(Text, Punctuation), 'expression'),
],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment