Re: [PHP] Re: preg_match question...

2009-02-06 Thread Frank Stanovcak
"Shawn McKenzie" wrote in message news:e1.67.59347.e494c...@pb1.pair.com... > bruce wrote: >> hmmm... >> >> tried your preg__match/regex... >> >> i get: >> 0 - 1145 total >> 1 - 1145 >> 2 - l >> >> i would have thought that the 2nd array item should have had "total"... >> > > Probably want this:

Re: [PHP] Re: preg_match question...

2009-02-06 Thread Alpár Török
2009/2/6 Shawn McKenzie > bruce wrote: > > hmmm... > > > > tried your preg__match/regex... > > > > i get: > > 0 - 1145 total > > 1 - 1145 > > 2 - l > > > > i would have thought that the 2nd array item should have had "total"... > > > > Probably want this: '#(\d+)(.+)#' That's it sorry. Take a lo

Re: [PHP] Re: preg_match question...

2009-02-06 Thread Shawn McKenzie
bruce wrote: > hmmm... > > tried your preg__match/regex... > > i get: > 0 - 1145 total > 1 - 1145 > 2 - l > > i would have thought that the 2nd array item should have had "total"... > Probably want this: '#(\d+)(.+)#' -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (ht

RE: [PHP] Re: preg_match question...

2009-02-06 Thread bruce
hmmm... tried your preg__match/regex... i get: 0 - 1145 total 1 - 1145 2 - l i would have thought that the 2nd array item should have had "total"... -Original Message- From: Frank Stanovcak [mailto:blindspot...@comcast.net] Sent: Friday, February 06, 2009 6:15 AM To: php-general@lists