java multiline comments
-
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 commentsnow is greedy match.
example:
https://www.litefeel.com/classical-regexp-test-algorithm/
- The topic ‘java multiline comments’ is closed to new replies.