diff --git a/rzk/RzkLexer/rzklexer/__init__.py b/rzk/RzkLexer/rzklexer/__init__.py index ceafccdd..debf0cad 100644 --- a/rzk/RzkLexer/rzklexer/__init__.py +++ b/rzk/RzkLexer/rzklexer/__init__.py @@ -26,7 +26,7 @@ def get_tokens_unprocessed(self, text): bygroups(Name.Decorator, Name.Entity)), (r'(\(\s+)([^\t\n\r !"#\(\),-\.;:<>\?\[\\\]\{\|\}][^!"#\(\),\.;:<>\?\[\\\]\{\|\}]*)(:)', bygroups(Punctuation, Name.Variable, Punctuation)), - (r'(\\)(([^\t\n\r !"#\(\),-\.;:<>\?\[\\\]\{\|\}][^\t\n\r !"#\(\),\.;:<>\?\[\\\]\{\|\}]*)\s*)*', + (r'(\\\s*)((([^\t\n\r !"#\(\),-\.;:<>\?\[\\\]\{\|\}][^\t\n\r !"#\(\),\.;:<>\?\[\\\]\{\|\}]*)\s*)*)', bygroups(Punctuation, Name.Variable)), (r';|:|:=|\(|\)|_|,|\{|\||\}|\|\[|\]|<|>|\\|->', Punctuation), (r' = | \* | === | <= | /\\ | \\/ ', Operator),