4247 gid edit systemname validation

duhSokola provided an email regex, which i'm using aswell.
I also extracted the regex patterns to the constants, for easier regex changes in the future :+1: