It sets the subpatteren as non-catching. In this example, it's redundant as the matchings aren't used. See http://nz.php.net/manual/en/regexp.reference.subpatterns.php
--- Simon Welsh Sent from my iPad On 28/07/2010, at 8:55, 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] -- NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected]
