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.
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.
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.