better input validation with regex
appdelegate I love you (ironic note: this commit won’t compile)