From: Tim Pope Date: Sun, 25 Jul 2004 00:14:13 +0000 (+0000) Subject: Cleaned up X-Git-Url: http://git.tpope.net/?p=tpope-extra.git;a=commitdiff_plain;h=fb592e0bb6c4a9572ab8f19e17b989c0a4bb6ef1 Cleaned up --- diff --git a/drupal/modules/cvsfilter.module b/drupal/modules/cvsfilter.module index f703753..9f02941 100644 --- a/drupal/modules/cvsfilter.module +++ b/drupal/modules/cvsfilter.module @@ -16,12 +16,8 @@ function cvsfilter_filter($op, $text = "") { case "settings": return form_group(t("URL Filter"), t("CVS Filter is enabled. This means that cvs: style URLs will automatically be pointed at the appropriate location.")); case "process": - //$text = " " . $text . " "; $text = preg_replace("//i", '', $text); $text = preg_replace("//i", '', $text); -// $text = preg_replace("<([ \n\r\t\(])([A-Za-z0-9._-]+@[A-Za-z0-9._-]+\.[A-Za-z]{2,4})([.,]?)(?=[ \n\r\t\)])>i", '\1\2\3', $text); -// $text = preg_replace("<([ \n\r\t\(])(www\.[a-zA-Z0-9@:%_~#?&=.,/;-]*[a-zA-Z0-9@:%_~#\&=/;-])([.,?]?)(?=[ \n\r\t\)])>i", '\1\2\3', $text); - //$text = substr($text, 1, -1); return $text; default: return $text;