Commits

Brianna Birman  committed 9dd6334

Supports single quote strings

  • Participants
  • Parent commits 58d103b

Comments (0)

Files changed (1)

File pygments/lexers/apex.py

             (r'(true|false|null)\b', Keyword.Constant),
             (r'(class|interface)(\s+)', bygroups(Keyword.Declaration, Text), 'class'),
             (r'(import)(\s+)', bygroups(Keyword.Namespace, Text), 'import'),
-            (r'"(\\\\|\\"|[^"])*"', String),
-            (r"'\\.'|'[^\\]'|'\\u[0-9a-f]{4}'", String.Char),
+            #(r'\'\*(.*?)*\*/\'', String),	
+ 			#(r'"(\\\\|\\"|[^"])*"', String),
+            (r"'.*?'", String),
             #(r'(\.)([a-zA-Z_][a-zA-Z0-9_]*)', bygroups(Operator, Name.Attribute)), #highlight attributes 
             (r'[a-zA-Z_][a-zA-Z0-9_]*:', Name.Label),
             (r'[a-zA-Z_\$][a-zA-Z0-9_]*', Name),