diff options
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -315,7 +315,8 @@ static function toascii($text) * @param $p['multiline'] add modifier m: ^ and $ match \n * @param $p['singleline'] add modifier s: . matches \n * @param $p['utf8'] add modifier u - * @param $p['extended'] add modifier x + * @param $p['extended'] add modifier x (non signifcant whitespace) + * @param $p['exec'] add modifier e (execute replace string as php-code) * @return converted regex to use with preg */ static function convertregex($pattern, $p = array()) @@ -331,6 +332,7 @@ static function convertregex($pattern, $p = array()) 'singleline' => 's', 'utf8' => 'u', 'extended' => 'x', + 'exec' => 'e', ) as $key => $mod) { if ($p[$key]) |