4247 gid edit systemname validation

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