summaryrefslogtreecommitdiff
path: root/LibertySystem.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2007-03-31 20:01:22 +0000
committerMax Kremmel <xing@synapse.plus.com>2007-03-31 20:01:22 +0000
commit46e1b2b937bb36c88cf01bed4ec9b2cb3ee1e81c (patch)
tree4468a2638b8e978730125465ed565195e0463b15 /LibertySystem.php
parenta585534eb99e779ab5f91dcf45f9fd82edeab70b (diff)
downloadliberty-46e1b2b937bb36c88cf01bed4ec9b2cb3ee1e81c.tar.gz
liberty-46e1b2b937bb36c88cf01bed4ec9b2cb3ee1e81c.tar.bz2
liberty-46e1b2b937bb36c88cf01bed4ec9b2cb3ee1e81c.zip
allow numbers in plugin tags
Diffstat (limited to 'LibertySystem.php')
-rwxr-xr-xLibertySystem.php4
1 files changed, 2 insertions, 2 deletions
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 <spider@steelsun.com>
*/
@@ -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