The UUID is a hash, so if we e.g. adjusted how LLD encodes something in the mach header, this would change. It would be annoying to have to update it every time something like that happens.
Also, by using a regex, we can make it clear what behavior is invariant across all binaries, not just this specific one.
Whoops, you're right, good catch!