fix small issue with postRegex.