Replies: 4 comments 4 replies
-
match.groups() has a note: Note: availability of these methods depends on MicroPython port. I can confirm that it's missing from the unix port, and that the RP2 port does what I'd expect |
Beta Was this translation helpful? Give feedback.
-
See https://github.com/micropython/micropython/blob/master/py/mpconfig.h#L1522 -- these @scruss I'm not sure how it's working on rp2 which uses the "Extra features" level. @prabhu-yu If you want to use this on Unix, you can set the options in |
Beta Was this translation helpful? Give feedback.
-
The issue of variation between platforms was discussed extensively here. Writing portable code is still challenging. |
Beta Was this translation helpful? Give feedback.
-
Hi all, If you have better suggestion to make std unix port similar to rp2 port, Idea behind this change is to enable people to develop/test code as much as possible |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In Unix port of microPython, I get the following error
in python re module.
'match' object has no attribute 'groups'
However, same issue is not observed in Pico board.
I am using unix port on Ubuntu, built the code directly
using following commands.
Beta Was this translation helpful? Give feedback.
All reactions