Whoops forgot to replace some redundant code related to regex
Merge pull request #157 from mniip/patch-1

regex