Commits

Georg Brandl committed 5d0a363

Closes #735: (*) is not a comment in F#.

  • Participants
  • Parent commits 2473ae1

Comments (0)

Files changed (1)

File pygments/lexers/dotnet.py

              Name.Namespace, 'dotted'),
             (r'\b([A-Z][A-Za-z0-9_\']*)', Name.Class),
             (r'//.*?\n', Comment.Single),
-            (r'\(\*', Comment, 'comment'),
+            (r'\(\*(?!\))', Comment, 'comment'),
             (r'\b(%s)\b' % '|'.join(keywords), Keyword),
             (r'(%s)' % '|'.join(keyopts), Operator),
             (r'(%s|%s)?%s' % (infix_syms, prefix_syms, operators), Operator),