Fix UUID.get_hex() missing in py3, use regex for matching uppercase.