Use correct REGEX values
Inversion of for statement
Merge pull request #94 from stuntguy3000/useCorrectRegex

Use correct REGEX values
Shorten error messages