From 886059c511a836f7d4413007098f05652b0c5dec Mon Sep 17 00:00:00 2001 From: messju Date: Fri, 16 Apr 2004 08:30:10 +0000 Subject: [PATCH] removed unused $smarty_compiler->_dvar_num_var_regexp --- libs/Smarty_Compiler.class.php | 1 - 1 file changed, 1 deletion(-) diff --git a/libs/Smarty_Compiler.class.php b/libs/Smarty_Compiler.class.php index fd6a033f..014fb377 100644 --- a/libs/Smarty_Compiler.class.php +++ b/libs/Smarty_Compiler.class.php @@ -107,7 +107,6 @@ class Smarty_Compiler extends Smarty { // $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;