I'm seeing some odd behavior with regex.
When I run my flask_app.py from the editor, code similar to this executes:
string = '1|1|بسم الله الرحمن الرحيم'
re.match("\d{1,3}.", string).group(0)[0:-1]
But it says NoneType has no attribute "group". It's not finding a match.
Loading the same string into the Python interpreter and running the same regex match yields a result. Anyone ever experience something like this?