Clean up STPL voodoo

Rewritten to use:

- Raw strings
- Triple-quoted strings
- Verbose regex mode `(?x)`

Also includes a fix changing `[urbURB]?` to `[urbURB]*` to match `ur'test'`