fixed spamfilter regex function