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?
espruino 1.99: >/\w+\.\w+/g.exec("form-data; name=\"file\"; filename=\"file.txt\"")[0] ="me=\"file.txt" node.js: /\w+\.\w+/g.exec("form-data; name=\"file\"; filename=\"file.txt\"")[0] => 'file.txt'
v2.01 is broken too.
Thank you.
@barbiani 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.
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.