Haskell comment regexp too eager
-
The regular expression for Haskell comments matches both comments and non-comment constructs, such as the –> operator.
The following rule in haskell.txt fixes the issue for the –> operator:
COMMENT (?!-->)(--.*?$)|({-[^\}]*})http://ww.wp.xz.cn/extend/plugins/crayon-syntax-highlighter/
The topic ‘Haskell comment regexp too eager’ is closed to new replies.