Graeme said: > Marc Groot Koerkamp said: >> Graeme said: >>> Graeme said: >>>> Marc Groot Koerkamp said: >>> .. >>> Thought I'd run some tests on the code in read_body.php > ... > I've changed the code to > $ret = preg_match('/(\x36MDNSent|\\*)/i', $read); > which seems to work for me. > I must admit I still didn't fully understand why the "\\*" worked and the original "\\\*" didn't. So I checked further and "\\*" just matches against a "*". What is needed is $ret = preg_match('/(\x36MDNSent|\\\\\*)/i', $read) which traps the "\*" combination.
It seems the original "\\\*" was equating to "match a backslash followed by none or many backslashes". Cheers Graeme ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf -- squirrelmail-users mailing list List Address: [EMAIL PROTECTED] List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users