Lines Matching refs:matches
416 preg_match('/^(.{1})(.*)$/us', $str, $matches);
417 return utf8_strtoupper($matches[1]).$matches[2];
450 * @param array $matches matches corresponding to a single word
453 function utf8_ucwords_callback($matches) { argument
454 $leadingws = $matches[2];
455 $ucfirst = utf8_strtoupper($matches[3]);
456 $ucword = utf8_substr_replace(ltrim($matches[0]),$ucfirst,0,1);
1021 while (preg_match('/'.$UTF8_BAD.'/S', $str, $matches)) {
1022 if ( !isset($matches[2])) {
1023 echo $matches[0];
1027 $str = substr($str,strlen($matches[0]));