diff --git a/scripts/phill/phill.php b/scripts/phill/phill.php
index 74df573d28c776eb30839605bdef2c867b6bc1d7..7548040853709634ed9dad8eb23d880fc58eefde 100755
--- a/scripts/phill/phill.php
+++ b/scripts/phill/phill.php
@@ -125,7 +125,7 @@ class PhillImporter
     $patterns = array();
     $replacements = array();
     foreach ($this->tasks as $id=>$task) {
-      $patterns[] = "/\\b$id\\b/m";
+      $patterns[] = "/\\b$id\\b/im";
       $replacements[] = $task->getMonogram();
     }