[imp] preg_match_all problems

E. Stuart Hicks ehicks at binarymagi.com
Mon Jan 26 17:12:42 PST 2004


I have been having consistant seg fault crashes from IMP because of the
following line from the linkUrls() function in horde/lib/Text.php:

preg_match_all('|(\w+)://([^\s"<]*[\w+#?/&=])|', $text, $matches,
PREG_SET_ORDER);

My regular expressions knowledge is somewhat lacking so I was wondering if
anyone knew of a way to convert it to an ereg type of statement.  I'm not
sure this will segfault the same way or not but I've had a bug ticket open
with bugs.php.net for a couple of days now and they can't figure out what it
is either (can't even reproduce it) so this is the only thing I could think
of to do.

Stu




More information about the imp mailing list