Fix regular expression used in readLabel and readUUID.

Authored by stikonas on Feb 4 2018, 3:56 PM.