diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index d984f41b08..8d727fb414 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -2745,6 +2745,7 @@ function get_preg_expression($mode)
return array(
'#.*?#',
'#.*?#',
+ '#\2#',
'#.*?#',
'#
www.phpbb.com',
- 'http://www.phpbb.com'
+ 'www.phpbb.com'
),
array(
'http://www.phpbb.com',