Source for file modifier.regex_replace.php
Documentation is available at modifier.regex_replace.php
* Smarty regex_replace modifier plugin
* Name: regex_replace<br>
* Purpose: regular expression search/replace
* @link http://smarty.php.net/manual/en/language.modifier.regex.replace.php
* regex_replace (Smarty online manual)
* @author Monte Ohrt <monte at ohrt dot com>
if (preg_match('!([a-zA-Z\s]+)$!s', $search, $match) &&
(strpos($match[1], 'e') !==
false)) {
/* remove eval-modifier from $search */
/* vim: set expandtab: */
Documentation generated on Sun, 09 Mar 2008 23:52:24 -0300 by phpDocumentor 1.4.0