diff options
author | Urban Müller | 2012-02-29 13:22:58 +0000 |
---|---|---|
committer | Urban Müller | 2012-02-29 13:22:58 +0000 |
commit | 5a3294d887f0a627e55c4502ee6e9413d13cc7d0 (patch) | |
tree | 1918c73f707cd581acbaf8a634f611fdf99e1ab2 | |
parent | c0938f79a452c44e28fccc326775891ba6c743e3 (diff) | |
download | itools-5a3294d887f0a627e55c4502ee6e9413d13cc7d0.tar.gz itools-5a3294d887f0a627e55c4502ee6e9413d13cc7d0.tar.bz2 itools-5a3294d887f0a627e55c4502ee6e9413d13cc7d0.zip |
10% speedup for it::convertregex
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -314,7 +314,7 @@ static function toascii($text) * @param $p['extended'] add modifier x (non signifcant whitespace) * @return converted regex to use with preg */ -static function convertregex($pattern, $p = array()) +static function convertregex($pattern, $p = null) { if ($p['exec']) it::fatal("Option exec to it::replace has been removed for security reasons"); |