Skip to content
Snippets Groups Projects
Commit f9e50d88 authored by Carsten's avatar Carsten
Browse files

fix sieve filter "begins" regex

parent 0614b51e
No related branches found
No related tags found
No related merge requests found
......@@ -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."$";
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment