X-Git-Url: http://git.tpope.net/?p=tpope-extra.git;a=blobdiff_plain;f=drupal%2Fmodules%2Fcvsfilter.module;fp=drupal%2Fmodules%2Fcvsfilter.module;h=9f02941bc59f9f1d636d2fd57adbf92cf7ee21ed;hp=f703753f3fc443a5473eaabb54c1ad6727765b3c;hb=fb592e0bb6c4a9572ab8f19e17b989c0a4bb6ef1;hpb=d6ae26ff7d7f02587dce5b22bf920063aa8fe980 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;