rubychan / coderay

Fast and easy syntax highlighting for selected languages, written in Ruby.
http://coderay.rubychan.de/
Other
847 stars 115 forks source link

Regex with slashes are broken for Javascript #222

Open qsniyg opened 6 years ago

qsniyg commented 6 years ago

Test:

test.match(/[^/]*/);

[^/] is still part of the regex string, but coderay sees the / as the regex end delimiter.