Re: [PHP] Need help with ereg regular expression

2005-02-03 Thread John Nichel
Jason Wong wrote: On Thursday 03 February 2005 02:18, John Nichel wrote: Argghhhreturn receipts Use a *real* mail client -- one that ignores those stupid things. I'm using Thunderbird on a RHEL AS 3 box. About as real as it gets. Unfortunately, here at work, I need to have th

Re: [PHP] Need help with ereg regular expression

2005-02-03 Thread Jochem Maas
Jason Wong wrote: On Thursday 03 February 2005 18:08, Jochem Maas wrote: Jason, I use Thunderbird - AFAICT its pretty real, BUT I have to have allow return reciepts because of other things/work I do - turning them off is not an option for me I can understand it if it's to enable scheduling featur

Re: [PHP] Need help with ereg regular expression

2005-02-03 Thread Jason Wong
On Thursday 03 February 2005 18:08, Jochem Maas wrote: > Jason, I use Thunderbird - AFAICT its pretty real, BUT I have to have > allow return reciepts because of other things/work I do - turning them off > is not an option for me I can understand it if it's to enable scheduling features. However

Re: [PHP] Need help with ereg regular expression

2005-02-03 Thread Jochem Maas
Jason Wong wrote: On Thursday 03 February 2005 02:18, John Nichel wrote: Argghhhreturn receipts Use a *real* mail client -- one that ignores those stupid things. Jason, I use Thunderbird - AFAICT its pretty real, BUT I have to have allow return reciepts because of other things/

Re: [PHP] Need help with ereg regular expression

2005-02-03 Thread Jochem Maas
Mikey wrote: Argghhhreturn receipts I just mailed the guy and gave him a friendly nod - they are off now :-) damn ;-) I was hoping a barrage of RRs would be what made him turn them off. oh well on to the next victim ;-) Mikey -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Need help with ereg regular expression

2005-02-03 Thread Jochem Maas
John Nichel wrote: Argghhhreturn receipts indeed - I believe there was an informal decision that everyone should actually return the requested reciept - the idea being that 1000+ reciepts will probably make said person change their ways. I notice that KHS (the OP) didn't s

Re: [PHP] Need help with ereg regular expression

2005-02-02 Thread Jason Wong
On Thursday 03 February 2005 03:44, KHS wrote: > >On the other hand, I think you could safely do: > > > >$regex = "^#include(.*)$"; > > > >and get what you want by using trim on the captured expression. > > no this would leave me with <, >, and " marks. Then string replace those characters. Or am

Re: [PHP] Need help with ereg regular expression

2005-02-02 Thread Jason Wong
On Thursday 03 February 2005 02:18, John Nichel wrote: > Argghhhreturn receipts Use a *real* mail client -- one that ignores those stupid things. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Interne

Re: [PHP] Need help with ereg regular expression

2005-02-02 Thread Richard Lynch
KHS wrote: > Richard Lynch wrote: > >>KHS wrote: >> >> >> >>>Here is an example of the input: >>>#include FT_FREETYPE_H >>>#include >>>#include "freetype/freetype.h" Perhaps: "]?', $text, $answer); echo $answer[1]; ?> -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (h

Re: [PHP] Need help with ereg regular expression

2005-02-02 Thread KHS
Richard Lynch wrote: >KHS wrote: > > > >>Here is an example of the input: >>#include FT_FREETYPE_H >>#include >>#include "freetype/freetype.h" >> >>Here is a snip of my code: >>$line = fgets($fp); >>$line = trim($line); >>$regexp = '^#include(:? | "| <)([^< >"]+)[> "]'; >>//$regexp = '^#include

Re: [PHP] Need help with ereg regular expression

2005-02-02 Thread Richard Lynch
KHS wrote: > Here is an example of the input: > #include FT_FREETYPE_H > #include > #include "freetype/freetype.h" > > Here is a snip of my code: > $line = fgets($fp); > $line = trim($line); > $regexp = '^#include(:? | "| <)([^< >"]+)[> "]'; > //$regexp = '^#include( <| "| )[^< >"]+[> "]'; //Same

RE: [PHP] Need help with ereg regular expression

2005-02-02 Thread Mikey
> Argghhhreturn receipts I just mailed the guy and gave him a friendly nod - they are off now :-) Mikey -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Need help with ereg regular expression

2005-02-02 Thread John Nichel
Argghhhreturn receipts -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php