check requested pattern against list
remove rescue block
Merge pull request #23 from jasonlong/generator-validation

Make sure requested pattern is valid