I don't really get it! in preg_match_all()
the $matches array what will it contain?

i mean $matches[0] is the whole match, and every $match[0][1] $match[0][2]
$match[0][n] is my subexpression.
now what does the $match[1] have? or $match[2] ?

I usually use these modifiers: "/is"

"Cc Zona" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> In article <[EMAIL PROTECTED]>,
>  [EMAIL PROTECTED] (_lallous) wrote:
>
> > If i have this string: "1 2 3 4 5 6 7 no more!"
> > and this regular expression: "([0-9]+)"
> >
> > now how can i run preg_match to get result by result until no results
are
> > returned?
>
> <http://php.net/preg_match_all>
>
> --
> CC



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to