From 7c595339503af8ba130e8174a281e620b6217826 Mon Sep 17 00:00:00 2001 From: David M Date: Sat, 19 Aug 2006 14:36:00 +0000 Subject: [PATCH] more efficient + fixing an oops git-svn-id: file:///svn/phpbb/trunk@6303 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_template.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/phpBB/includes/functions_template.php b/phpBB/includes/functions_template.php index 4fecd0737e..fa93df7318 100644 --- a/phpBB/includes/functions_template.php +++ b/phpBB/includes/functions_template.php @@ -105,8 +105,7 @@ class template_compile { // This matches the information gathered from the internal PHP lexer $match = array( - '#<\?.*?\?>#s', - '#<[%?]=.*?\?>#s', + '#<([\?%])=?.*?\1>#s', '#.*?#s', '#<\?php(?:\r\n?|[ \n\t]).*?\?>#s' );