RegEx not matching node.js output #7166
Replies: 1 comment
-
Posted at 2019-01-21 by @gfwilliams Looks like there's a bug in how the index of the match is calculated - however if you make it a group then you can extract that group and you're sorted.
Posted at 2019-01-21 by @gfwilliams It's now fixed, so the latest builds will work better Posted at 2019-01-21 by barbiani Thank you. I am not good at regular expressions. A better solution would be to look for the content between quotes after 'filename=' (to also get filenames without extension), but at least we spotted a small bug. Posted at 2019-01-22 by @gfwilliams Ok, in that case I'd suggest:
Which matches Posted at 2019-12-14 by Ptitonio Hello everyone,
Are they implemented ? Thank you. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2019-01-20 by barbiani
Hello everybody,
I am trying to match the second string between quotes and while it works fine on node.js it fails on espruino v1.99.
With the resources available on espruino, how else would you do it?
v2.01 is broken too.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions