Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Actually I think this is a very funny one - do you have a character named re? That's the name I imported the regex library under. I should probably put this in a separate namespace to avoid this kind of issue lol. If that's the case,  then you can update `import re` to `import re as regex` and change all the `re.` method calls to `regex.` method calls.

That was it, thank you! It works perfectly now.

Small update to let you know I modified the v1.2 files to put the code in its own namespace! Hopefully that will help someone avoid a similar problem. Thanks for pointing it out!