Change re to regex. Removed ElementTree.
Change re to regex. Removed ElementTree.