Fixed regEx used by internal filter

Fixed #152
Merge pull request #1139 from siad007/patch-5

Fixed regEx used by internal filter