diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 49fd732bb8..d109fe0648 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -2749,7 +2749,7 @@ function get_preg_expression($mode)
return array(
'#.*?#',
'#.*?#',
- '#.*?#',
+ '#(.*?)#',
'#
',
':)'
),
+ array(
+ 'www.phpbb.com',
+ 'www.phpbb.com'
+ ),
+ array(
+ 'http://www.phpbb.com',
+ 'http://www.phpbb.com'
+ ),
/**
* Fails as per PHPBB3-8420
* @link http://tracker.phpbb.com/browse/PHPBB3-8420