Commits

Rob Hoelz  committed 465b385

Treat <= as an operator, rather than starting a word quote (<...>)

  • Participants
  • Parent commits bcd6d7c

Comments (0)

Files changed (1)

File pygments/lexers/agile.py

             ( r'[0-9a-zA-Z_][' + PERL6_IDENTIFIER_CHARS + ']*', Name ),
             ( r"'(\\\\|\\[^\\]|[^'\\])*'", String ),
             ( r'"(\\\\|\\[^\\]|[^"\\])*"', String ),
-            ( r'<\S.*?\S>', String ),
+            ( r'<[^\s=].*?\S>', String ),
             ( _build_word_match([ re.escape(x) for x in PERL6_OPERATORS]), Operator ),
             ( r'[}]', closing_brace_callback ),
             ( r'.+?', Text ),