Commits

Patrick Dubroy committed f04a348

Change Python spec to better support incremental lexing

  • Participants
  • Parent commits 6c62dae

Comments (0)

Files changed (1)

File pygments/lexers/agile.py

     tokens = {
         'root': [
             (r'\n', Text),
-            (r'^(\s*)([rRuU]{,2}"""(?:.|\n)*?""")', bygroups(Text, String.Doc)),
-            (r"^(\s*)([rRuU]{,2}'''(?:.|\n)*?''')", bygroups(Text, String.Doc)),
             (r'[^\S\n]+', Text),
             (r'#.*$', Comment),
             (r'[]{}:(),;[]', Punctuation),
             (r"'''", String, '#pop'),
             include('strings'),
             include('nl')
-        ],
+        ]
     }
 
     def analyse_text(text):