Nathan Nobbe wrote: > to elaborate, in general, the filter extension should be faster than > corresponding preg_* calls from user space. why? b/c, they > essentially are compiled calls to pcre (in many cases) There is no or only the tiniest little difference - AFAICT preg_match and the filter extension both use the same regex caching mechanism. If the regex has not been compiled, the first call will compile it, subsequent calls will use the already compiled regex. /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php