message regex catches zero or one of all end chars