utsname is using same regex on front and backend

also, use precompiled regexes for every field AND move all regular expressions to a new file, validation.py