Closed GoogleCodeExporter closed 9 years ago
Thanks for the small testcase.
"if(/^https?:\/\//" prettified ok as did "if( !/^https?:\/\//" so it was a
problem with greedy runs of punctuation consuming the token that would
otherwise trigger the ("/" starts regex instead of division operator after
token) rule.
Fixed in r279.
Testcase
http://google-code-prettify.googlecode.com/svn/trunk/tests/prettify_test_2.html#
issue217
Original comment by mikesamuel@gmail.com
on 25 Feb 2013 at 5:28
Original issue reported on code.google.com by
manishsm...@gmail.com
on 18 May 2012 at 9:46