From 46e1b2b937bb36c88cf01bed4ec9b2cb3ee1e81c Mon Sep 17 00:00:00 2001 From: Max Kremmel Date: Sat, 31 Mar 2007 20:01:22 +0000 Subject: allow numbers in plugin tags --- LibertySystem.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'LibertySystem.php') diff --git a/LibertySystem.php b/LibertySystem.php index 257d67e..f367109 100755 --- a/LibertySystem.php +++ b/LibertySystem.php @@ -3,7 +3,7 @@ * System class for handling the liberty package * * @package liberty -* @version $Header: /cvsroot/bitweaver/_bit_liberty/LibertySystem.php,v 1.66 2007/03/31 13:01:08 squareing Exp $ +* @version $Header: /cvsroot/bitweaver/_bit_liberty/LibertySystem.php,v 1.67 2007/03/31 20:01:22 squareing Exp $ * @author spider */ @@ -549,7 +549,7 @@ function parse_data_plugins( &$data, &$preparsed, &$noparsed, &$pParser, &$pComm global $gLibertySystem; // Find the plugins // note: $curlyTags[0] is the complete match, $curlyTags[1] is plugin name, $curlyTags[2] is plugin arguments - preg_match_all("/\{\/?([A-Za-z]+)([^\}]*)\}/", $data, $curlyTags); + preg_match_all("/\{\/?([A-Za-z0-9]+)([^\}]*)\}/", $data, $curlyTags); if( count( $curlyTags[0] ) ) { // if true, replace only CODE plugin, if false, replace all other plugins -- cgit v1.3