Re: Fw: [PHP] Re: Regular expression

2004-06-30 Thread Red Wingate
Oh ... you forgot to include your account-info so i won't be able to send you the money :-/ [...] You're too nice.. Btw, I need some money. Send me money ASAP. It must be an amount greater than $200, and be delivered to me directly, thank you. [...] -- PHP General Mailing List (http://www.php.net/)

Re: Fw: [PHP] Re: Regular expression

2004-06-30 Thread Curt Zirzow
* Thus wrote Red Wingate: > First of all check who u credit :p > Secondly why don't you just try to fix it yourself? > > There was just a typo in the regexp: > - #^from\s*:\s*([^>]+)(<([^>]+)>)?#si > + #^from\s*:\s*([^<]+)(<([^>]+)>)?#si > > Hopefully this will help you even more: > You're too

Re: Fw: [PHP] Re: Regular expression

2004-06-30 Thread Red Wingate
First of all check who u credit :p Secondly why don't you just try to fix it yourself? There was just a typo in the regexp: - #^from\s*:\s*([^>]+)(<([^>]+)>)?#si + #^from\s*:\s*([^<]+)(<([^>]+)>)?#si Hopefully this will help you even more: ]+)\>)?)#si' , $mailLine , $parts ); break ;