Commits

John Benediktsson  committed d9185a7

Fix highlighting of single-character CHAR: in the Factor lexer.

  • Participants
  • Parent commits 33931e7

Comments (0)

Files changed (1)

File pygments/lexers/agile.py

             (r'"""\s+(?:.|\n)*?\s+"""', String),
             (r'"(?:\\\\|\\"|[^"])*"', String),
             (r'\S+"\s+(?:\\\\|\\"|[^"])*"', String),
-            (r'CHAR:\s+(\\[\\abfnrstv]|[^\\]\S+)\s', String.Char),
+            (r'CHAR:\s+(\\[\\abfnrstv]|(?:[^\\]\S*))\s', String.Char),
 
             # comments
             (r'!\s+.*$', Comment),