Test again.

Python version with extensive use of regex-fu