1. Georg Brandl
  2. pygments-main

Commits

blackbird  committed 3872c4e

[svn] fixed XXX in apache lexer

  • Participants
  • Parent commits d555574
  • Branches trunk

Comments (0)

Files changed (1)

File pygments/lexers/text.py

View file
  • Ignore whitespace
         ],
         'value': [
             (r'$', Text, '#pop'),
-            (r'\s', Text), # XXX: \s+ does not work with examplefile
+            (r'[^\S\n]+', Text),
             (r'\d+', Number),
             (r'/([a-zA-Z0-9][a-zA-Z0-9_./-]+)', String.Other),
             (r'(on|off|none|any|all|double|email|dns|min|minimal|'