fix post message regular expression