WordPress.org

Ready to get started?Download WordPress

Forums

SyntaxHighlighter Evolved
java multiline comments (1 post)

  1. lite3
    Member
    Posted 1 year ago #

    int shBrushJava.js
    the multiline comments regex.
    { regex: /\/\*([^\*][\s\S]*)?\*\//gm, css: 'comments' }, // multiline comments
    please replace to :
    { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments

    now is greedy match.
    example:
    http://www.litefeel.com/classical-regexp-test-algorithm/

    http://wordpress.org/extend/plugins/syntaxhighlighter/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.