$message = join("\n", $_message);
}
if ($message) {
+ $message = preg_replace("/(^|\n)\./", '\1..', $message);
$this->putLine("$message\r\n", false);
}
return $this->execLine('.');
$groups = array();
foreach ($list as $result) {
list($group, $last, $first, $p) = explode(' ', $result, 4);
- if (!is_null(Banana::$grp_pattern) || preg_match('@' .Banana::$grp_pattern . '@', $group)) {
+ if (!is_null(Banana::$boxpattern) || preg_match('@' . Banana::$boxpattern . '@i', $group)) {
$groups[$group] = array(intval($last), intval($first), $p);
}
}
}
}
-// vim:set et sw=4 sts=4 ts=4
+// vim:set et sw=4 sts=4 ts=4 enc=utf-8:
?>