Re: [PHP] preg_match_all...grrrr!!!

2001-10-23 Thread Christian Reiniger
On Tuesday 23 October 2001 02:47, PHPGalaxy.com wrote: > My matching pattern looks like this: > $engreg = > '/psPhoneEntry.py?firstname=(.*?)&lastname=(.*?)&street=(.*?)&city=(.*? >)&state=(.*?)&zip=(.*?)&phone=(.*?)\">/i'; > > Note the "/" at the beginning, and "/i" at the end. those have always

Re: [PHP] preg_match_all...grrrr!!!

2001-10-22 Thread Pavel Jartsev
"PHPGalaxy.com" wrote: > > ... > > A link from one such entry looks like this: > >psPhoneEntry.py?firstname=Adam&lastname=Collier&street=3912+Foley+Glen+Cir&city=Fenton&state=MI&zip=48430-3435&phone=8107507456 > > My matching pattern looks like this: > $engreg = > >'/psPhoneEntry.py?firstname

[PHP] preg_match_all...grrrr!!!

2001-10-22 Thread PHPGalaxy.com
I've never had good luck with this function. I first learned how to (sorta) use it from looking at other code. It worked fine when I made a meta search engine, but when I tried on expanding on it, well, I've started losing hair. =) Here's the scenario: I'm trying to parse results from Yahoo's Pe