Use A and z to validate user input, closes #194
Merge pull request #196 from monterail/regexp

Use A and z to validate user input, closes #194