TypeError: Cannot call method 'match' of undefined. fixed.
Merge pull request #74 from astronaughts/master

TypeError: Cannot call method 'match' of undefined