Commit f9e50d88 authored by Carsten's avatar Carsten

fix sieve filter "begins" regex

parent 0614b51e
......@@ -149,7 +149,7 @@ class mail_user_filter_plugin {
} elseif ($page_form->dataRecord["op"] == 'is') {
$content .= $searchterm."$";
} elseif ($page_form->dataRecord["op"] == 'begins') {
$content .= " ".$searchterm."";
$content .= "^".$searchterm.".*";
} elseif ($page_form->dataRecord["op"] == 'ends') {
$content .= ".*".$searchterm."$";
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment