fixes #4
Merge pull request #8 from chrisdew/master

fixes #4, without a regex