Re: [otrs] How to use regex in postamster filter

2017-03-19 Thread Úr Balázs
2017-03-19 8:21 GMT+01:00 Renee B : > Try: (?m:^Closeable$) Thank you, it works! Explanation for myself (and for the list archive): ?m sets multiline matches (see: http://www.regextester.com/pregsyntax.html#AEN123893) Explanation of multiline modifier: http://php.net/manual/en/reference.pcre.patt

Re: [otrs] How to use regex in postamster filter

2017-03-19 Thread Renee B
Try (?m:^Closeable$) - Renée Am 18.03.2017 um 18:33 schrieb Úr Balázs: Hi, We are trying to use regex in postmaster filter, but is doesn't work. I don't know if is it a bug, or we use it wrongly. We need to automaticaly close a ticket, which body contains a line with word "Closeable". Only th