WordPress.org

Ready to get started?Download WordPress

Forums

Crayon Syntax Highlighter
Haskell comment regexp too eager (1 post)

  1. nepherte
    Member
    Posted 1 year ago #

    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://wordpress.org/extend/plugins/crayon-syntax-highlighter/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.