Re: [web2py] routes.py Python 3 regex error

2018-09-28 Thread Bryan Chance
one correction, the \\g's are actually \g On Fri, Sep 28, 2018 at 12:20 PM Bryan Chance wrote: > I'm working to switch my web2py application to Python 3. However, I now > get errors when loading due to my routes.py: > > File "/usr/lib/python3.6/sre_parse.py", line 401, in _escape > raise s

[web2py] routes.py Python 3 regex error

2018-09-28 Thread Bryan Chance
I'm working to switch my web2py application to Python 3. However, I now get errors when loading due to my routes.py: File "/usr/lib/python3.6/sre_parse.py", line 401, in _escape raise source.error("bad escape %s" % escape, len(escape)) sre_constants.error: bad escape \g at position 35 My