Commits

Georg Brandl  committed 3483005

Change CSS lexer name regex fix.

  • Participants
  • Parent commits 70b95cd

Comments (0)

Files changed (1)

File pygments/lexers/web.py

             (r'[\[\]();]+', Punctuation),
             (r'"(\\\\|\\"|[^"])*"', String.Double),
             (r"'(\\\\|\\'|[^'])*'", String.Single),
-            (r'[a-zA-Z_]?[a-zA-Z0-9_]+', Name)
+            (r'[a-zA-Z_][a-zA-Z0-9_]*', Name)
         ]
     }