1. Kirill Simonov
  2. pygments-htsql

Commits

gbrandl  committed ce46ade

Fix perl lexer bug.

  • Participants
  • Parent commits 238cfc1
  • Branches trunk

Comments (0)

Files changed (1)

File pygments/lexers/agile.py

View file
     tokens = {
         'root': [
             (r'\#.*?$', Comment.Single),
-            (r'=[a-zA-Z0-9]+\s+.*?\n[.\n]*?\n\s*=cut', Comment.Multiline),
+            (r'=[a-zA-Z0-9]+\s+.*?\n=cut', Comment.Multiline),
             (r'(case|continue|do|else|elsif|for|foreach|if|last|my|'
              r'next|our|redo|reset|then|unless|until|while|use|'
              r'print|new|BEGIN|END|return)\b', Keyword),