Re: [SMARTY-DEV] Formsess developement: matching a variable in a string

From: Date: Thu, 15 Jan 2004 15:52:55 +0000
Subject: Re: [SMARTY-DEV] Formsess developement: matching a variable in a string
References: 1 2  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-2037@lists.php.net to get a copy of this message
there is no method. if you have $compiler in your prefilter you could use the $compiler->_var_regexp property. it's not a very clean way: $_var_regexp is considered internal but it would work with 2.5 and 2.6. you have to ponder. OK, that's what i've done. I hope it's not gonna change in the future :)
Katana

« previous php.smarty.dev (#2037) next »