--- invisimail.module 2008-06-14 01:05:36.000000000 +0200
+++ invisimail.module 2009-02-05 16:35:13.000000000 +0100
@@ -98,8 +98,7 @@ function invisimail_filter($op, $delta =
}
function invisimail($string, $format) {
- $pattern = "!(
|
|
|[ \n\r\t\(])([A-Za-z0-9._-]+@[A-Za-z0-9._-]+\.[A-Za-z]{2,4})([.,]?)(?=(||
|[ \n\r\t\)]))!i";
-
+ $pattern = '!(|
|
|[\s\(])([A-Za-z0-9._-]+@[A-Za-z0-9._-]+\.[A-Za-z]{2,4})([.,]?)(?=(||
|[\s/)]))!i';
// the callback needs to know what filter we're using
// however there's no way to hand off that variable
// so we'll set a global variable
@@ -241,4 +240,4 @@ function _invisimail_settings($format) {
);
return $form;
-}
\ No newline at end of file
+}