if (Match(".* string$", REGEXP)==0) { Statline_Message("This line ends with 'string'") }