Lines Matching refs:match
376 if (preg_match('/^'.$rexd.'\.'.$rexm.'\.'.$rexy.$rexsep.'/', $datestr, $match)) {
378 $day = $match[1];
379 $month = $match[2];
380 $year = $match[3];
382 } else if (preg_match('/^'.$rexd.'\.'.$rexm.$rexsep.'/', $datestr, $match)) {
385 $month = $match[2];
386 $day = $match[1];
388 } else if (preg_match('/^'.$rexy.'-'.$rexm.'-'.$rexd.$rexsep.'/', $datestr, $match)) {
390 $year = $match[1];
391 $month = $match[2];
392 $day = $match[3];
394 } else if (preg_match('/^'.$rexy.'-'.$rexm.$rexsep.'/', $datestr, $match)) {
396 $year = $match[1];
397 $month = $match[2];
400 } else if (preg_match('/^'.$rexy.$rexm.$rexd.$rexsep.'/', $datestr, $match)) {
402 $year = $match[1];
403 $month = $match[2];
404 $day = $match[3];
405 } else if (preg_match('/^'.$rexy.$rexsep.'/', $datestr, $match)) {
407 $year = $match[1];
416 if (preg_match('/^'.$rexH.':'.$rexM.$rexend.'$/', $datestr, $match)) {
417 $hour = $match[1];
418 $mins = $match[2];
421 } else if (preg_match('/^'.$rexH.':'.$rexM.':'.$rexS.$rexend.'$/', $datestr, $match)) {
422 $hour = $match[1];
423 $mins = $match[2];
424 $secs = $match[3];
426 } else if (preg_match('/^'.$rexH.$rexM.$rexS.$rexend.'$/', $datestr, $match)) {
427 $hour = $match[1];
428 $mins = $match[2];
429 $secs = $match[3];