Attribute error module 're' has no attribute 'findall'

The folloving code give AttributeError: module ‘re’ has no attribute ‘findall’

import re
text = " 0 0 0 333 296 28 37 40 "

Find all

matchningar = re.findall(r’\d+', text)
print(matchningar)

See this: 2.35. Pattern basics - OpenMV MicroPython 1.28 documentation

OK
Thanks for a quick answer

Is there a way (in the editor) to find out what is supported?

That’s just desktop python being injected from the pyslp module. It’s hard to stop it from doing that. It wants to use the docs from the desktop library for modules which have desktop equivalents versus using the docs from the actual module running onboard.

I’ll see if I can fix in the next release.