aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2006-08-15 01:08:51 +0000
committerDavid M <davidmj@users.sourceforge.net>2006-08-15 01:08:51 +0000
commit75ca1c9764aa8d3b8c8c845516849d90754ee88e (patch)
tree636bc78dde02a3973e2c5fcbf28981601a8729c2 /phpBB/includes/functions.php
parent332bd12835b5330637024c77e31ba98ab27e9699 (diff)
downloadforums-75ca1c9764aa8d3b8c8c845516849d90754ee88e.tar
forums-75ca1c9764aa8d3b8c8c845516849d90754ee88e.tar.gz
forums-75ca1c9764aa8d3b8c8c845516849d90754ee88e.tar.bz2
forums-75ca1c9764aa8d3b8c8c845516849d90754ee88e.tar.xz
forums-75ca1c9764aa8d3b8c8c845516849d90754ee88e.zip
If i could force you all to use PHP 5.1.0+, then i could just use the count param with preg_replace. Oh well...
git-svn-id: file:///svn/phpbb/trunk@6292 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 48fec2d795..ebe94adac7 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -2375,7 +2375,7 @@ function get_preg_expression($mode)
switch ($mode)
{
case 'email':
- return '[a-z0-9&\'\.\-_\+]+@[a-z0-9\-]+\.([a-z0-9\-]+\.)*?[a-z]+';
+ return '[a-z0-9&\'\.\-_\+]+@[a-z0-9\-]+\.([a-z0-9\-]+\.)*[a-z]+';
break;
}