Update tagil.py

Jiggled a few things artoung and added a regexp backbone.