Username regexp is too strict

Username can contains more characters that the regexp allows. For example, on a raspberry pi, the default user for web server is 'www-data'.