Fix regex to match msg-template