Multi-line comments in JavaScript using / / are broken. The remainder of the JavaScript after */ is highlighted as a comment too. Sample HTML file and screenshot attached.
The problem appears to be with the span_regexp that is meant to prevent a block comment from consuming the closing script tag.
Changing the ending regexp to <END REGEXP="TRUE">(?i)(?=*/|</SCRIPT\b)</END> appears to fix it, but leaves the comment closing without highlighting.
I'm not entirely sure how to fix this properly, so I'll leave it to the experts.
Just noticed that SF stripped the asterisks. That first sentence refers to the JavaScript block comment - slash star and star slash.
Oh... and this is jEdit 5.1 pre 1
This appears to have been introduced in patch 504, but appears to have been removed for 5.2 pre 1.
This can be closed as invalid.
I saw the same problem, upgrading to the latest 5.2pre1 code fixed it.