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
rjmolesa consoltec.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 regex googlegroups.com
To unsubscribe from this group, send email to
regex-unsubscribe googlegroups.com
For more options, visit this group at http://groups.go
ogle.com/group/regex
-~----------~----~----~----~------~----~------~--~---
|