corrected massages regex