Thanks! That's a really good spot - it's actually not the regex parser at all, it's the block comment handling!
It treats /*/ as a complete block comment, when actually a complete comment would be /**/
/*/
/**/
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Thanks! That's a really good spot - it's actually not the regex parser at all, it's the block comment handling!
It treats
/*/
as a complete block comment, when actually a complete comment would be/**/