little bug in the REGEX interpreter? #1124
Unanswered
espruino-discuss
asked this question in
JavaScript
Replies: 2 comments
-
Posted at 2017-12-06 by @gfwilliams Thanks! That's a really good spot - it's actually not the regex parser at all, it's the block comment handling! It treats |
Beta Was this translation helpful? Give feedback.
0 replies
-
Posted at 2017-12-06 by @gfwilliams Ok, it should be fixed in the latest builds now |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2017-12-06 by @yerpj
I have a declared a function containing some debug code as well as a couple of comments. In addition, I added a comment area enclosed within
/*
and*/
. This gives something like that:Uncaught SyntaxError: Got UNFINISHED REGEX expected EOF
It seems that
/*//
are interpreted by the REGEX, isn't it?Beta Was this translation helpful? Give feedback.
All reactions