Python UUID in full (str) and compact (hex) form
Python regex used to parse a UUID in its full form (36 chars, including hyphens in 12-4-4-4-12 form), and its compact 32 char form (derived from uuid.hex).
This regex was originally created for a Django url converter that supported uuids in both forms.
Submitted by anonymous - 5 years ago