Lines Matching refs:matches
63 if (preg_match('/\b(left|center|right)\b/i', $conf, $matches)) {
64 $return['align'] = $matches[1];
68 if (preg_match('/\b(\d+)x(\d+)\b/', $conf, $matches)) {
69 $return['width'] = $matches[1];
70 $return['height'] = $matches[2];
72 if (preg_match('/\b(?:width|w)=([0-9]+)(%?)/i', $conf, $matches)) {
73 $return['width'] = $matches[1];
74 $return['percent'] = $matches[2];
76 if (preg_match('/\b(?:height|h)=([0-9]+)\b/i', $conf, $matches)) {
77 $return['height'] = $matches[1];
82 if (preg_match('/\b(?:title|t)=(\w+)\b/i', $conf, $matches)) {
84 $return['title'] = $matches[1];
85 } else if (preg_match('/(?:title|t)="([\w+\s+]+)"/i', $conf, $matches)) {
87 $return['title'] = $matches[1];