Update the regular expression tool to validate emails and print version

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>