Commits

Georg Brandl  committed 70b95cd Merge

Merged in miketaylr/pygments-main (pull request #65)

  • Participants
  • Parent commits 6ad7642, 240523f

Comments (0)

Files changed (2)

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)
         ]
     }
 

File tests/examplefiles/test.css

 
 #nav .new {
     display: block;
+    -webkit-border-radius: 5px;
+    -moz-border-radius: 5px;
+    -ms-border-radius: 5px;
+    -o-border-radius: 5px;
+    border-radius: 5px;
 }
 
 ul#nav li.new {