[prev in list] [next in list] [prev in thread] [next in thread]
List: smarty-cvs
Subject: [SMARTY-CVS] cvs: smarty /libs Smarty_Compiler.class.php
From: "Messju Mohr" <messju () php ! net>
Date: 2004-04-16 8:30:11
Message-ID: cvsmessju1082104211 () cvsserver
[Download RAW message or body]
messju Fri Apr 16 04:30:11 2004 EDT
Modified files:
/smarty/libs Smarty_Compiler.class.php
Log:
removed unused $smarty_compiler->_dvar_num_var_regexp
http://cvs.php.net/diff.php/smarty/libs/Smarty_Compiler.class.php?r1=1.316&r2=1.317&ty=u
Index: smarty/libs/Smarty_Compiler.class.php
diff -u smarty/libs/Smarty_Compiler.class.php:1.316 \
smarty/libs/Smarty_Compiler.class.php:1.317
--- smarty/libs/Smarty_Compiler.class.php:1.316 Fri Apr 16 03:53:36 2004
+++ smarty/libs/Smarty_Compiler.class.php Fri Apr 16 04:30:10 2004
@@ -26,7 +26,7 @@
* @package Smarty
*/
-/* $Id: Smarty_Compiler.class.php,v 1.316 2004/04/16 07:53:36 messju Exp $ */
+/* $Id: Smarty_Compiler.class.php,v 1.317 2004/04/16 08:30:10 messju Exp $ */
/**
* Template compiling class
@@ -107,7 +107,6 @@
// $foo[5].bar[$foobar][4]
$this->_dvar_math_regexp = '[\+\-\*\/\%]';
$this->_dvar_math_var_regexp = '[\$\w\.\+\-\*\/\%\d\>\[\]]';
- $this->_dvar_num_var_regexp = '\-?\d+(?:\.\d+)?' . \
$this->_dvar_math_var_regexp; $this->_dvar_guts_regexp = '\w+(?:' . \
$this->_var_bracket_regexp
. ')*(?:\.\$?\w+(?:' . $this->_var_bracket_regexp . ')*)*(?:' . \
$this->_dvar_math_regexp . '(?:\-?\d+(?:\.\d+)?|' . $this->_dvar_math_var_regexp . \
')*)?'; $this->_dvar_regexp = '\$' . $this->_dvar_guts_regexp;
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic