RE: [PHP] Which Regex library?

2001-02-05 Thread johnny p.
If that works, then just use that. johnny p. > -Original Message- > From: Shawn J. Wallace [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 05, 2001 8:17 AM > To: johnny p. > Cc: [EMAIL PROTECTED] > Subject: RE: [PHP] Which Regex library? > > > Ok, this is from

RE: [PHP] Which Regex library?

2001-02-05 Thread Shawn J. Wallace
Ok, this is from memory, but.. I'm trying to pull the IP addresses of mail relays out of an email - and they are of the form [xxx.xxx.xxx.xxx], so I do something like: ereg('\[(0-9\.)*]', $email, $res) It finds some but not all of them in the email. What I really do is put that in a while st

RE: [PHP] Which Regex library?

2001-02-05 Thread johnny p.
What is the expression that seems to be failing? give an example, perhaps it's your code. johnny p. > -Original Message- > From: Shawn J. Wallace [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 05, 2001 8:09 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Which Rege

[PHP] Which Regex library?

2001-02-05 Thread Shawn J. Wallace
I'm getting some strange things happening using regex's where it will skip certain matches for no apparant reason. I know the regex itself is fine, it's too simple to screw up... So I noticed that there is a compile option --with-regex=TYPE Does anyone know exactly what the differences are be