Added regex to web.py