List Info

Thread: PHP RegEx




PHP RegEx
country flaguser name
United States
2007-07-11 10:10:03
I can't understand why when I use
preg_match_all('/(regex)/', 'text
string', $matches, PREG_SET_ORDER) that the entire regex
gets returned
in the array $matches.  Even if I use (?:regex) on the whole
regex I
still get the whole thing back.  Is there and way to drop
that part?  I
know I could just ignore it, but I'd like a bit more control
over it.
Thanks.

-- 
Jon Molesa
rjmolesaconsoltec.net
if you're bored or curious
http://rjmolesa.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Regex" group.
To post to this group, send email to regexgooglegroups.com
To unsubscribe from this group, send email to
regex-unsubscribegooglegroups.com
For more options, visit this group at http://groups.go
ogle.com/group/regex
-~----------~----~----~----~------~----~------~--~---


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )