Commits

Brianna Birman committed 58d103b

Fixed multiline comments

  • Participants
  • Parent commits ff4ccbc

Comments (0)

Files changed (1)

File pygments/lexers/apex.py

 			 r'([a-zA-Z_][a-zA-Z0-9_]*)'                    # method name
              r'(\s*)(\()',                                  # signature start
              bygroups(using(this), Name.Function, Text, Operator)),
-            (r'[^\S\n]+', Text),
+            
             (r'//.*?\n', Comment.Single),
-            (r'/\*.*?\*/', Comment.Multiline),
+			(r'/\*(.*?\n)*.*?\*/', Comment.Multiline),
+            #(r'/\*.*?\*/', Comment.Multiline),
+			(r'[^\S\n]+', Text),
             (r'@[a-zA-Z_][a-zA-Z0-9_\.]*', Name.Decorator),
             (r'(assert|break|case|catch|continue|default|do|else|finally|for|'
              r'if|goto|instanceof|new|return|switch|this|throw|try|while)\b',