Dan & Simon are right. The ?: is used for non-capturing groups.

Your regex matches a single character that is NOT between ASCII 0x00
and 0x7F. That represents the first 128 ASCII characters. So, it seems
that you are trying to get the first extended ASCII character. Sounds
like you are parsing something very interesting. :)

On Jul 28, 8:55 am, ctx2002 <[email protected]> wrote:
> preg_match('/(?:[^\x00-\x7F])/',$str).
>
> is any one know what is that "?:" means? and give me a web link?
>
> regards
>
> anru

-- 
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]

Reply via email to