regexp used for expected error/warning/messages