summaryrefslogtreecommitdiffstats
path: root/system/libraries/Email.php
diff options
context:
space:
mode:
authorvlakoff <vlakoff@gmail.com>2014-05-20 10:32:35 +0200
committervlakoff <vlakoff@gmail.com>2014-05-20 10:32:35 +0200
commit2a8560c9c62c16a2f044f37bfd4adf152c191ee5 (patch)
treea9a0fadb67f0b4e99917e7a81e574f7a9ecb744c /system/libraries/Email.php
parent9e9d86ba77b6aead9daec720bb1444841527e0c7 (diff)
Regex fixes
* Replace wrong "wwww." with "www." * Escape dot
Diffstat (limited to 'system/libraries/Email.php')
-rw-r--r--system/libraries/Email.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Email.php b/system/libraries/Email.php
index 63b7dc31c..2595032c9 100644
--- a/system/libraries/Email.php
+++ b/system/libraries/Email.php
@@ -1203,7 +1203,7 @@ class CI_Email {
do
{
// If the over-length word is a URL we won't wrap it
- if (preg_match('!\[url.+\]|://|wwww.!', $line))
+ if (preg_match('!\[url.+\]|://|www\.!', $line))
{
break;
}