Lines Matching refs:match
49 function handle($match, $state, $pos, &$handler){ argument
57 $match = substr($match,7,-2); //strip markup from start and end
61 if (substr($match,0,1) == ' ') {
62 if (substr($match,-1,1) == ' ') {
70 elseif (substr($match,-1,1) == ' ') {
73 elseif (substr($match,0,1) == '*') {
74 $match = substr($match,1);
75 if (substr($match,-1,1) == '*') {
76 $match = substr($match,0,-1);
84 elseif (substr($match,-1,1) == '*') {
85 $match = substr($match,0,-1);
90 list($img,$all_params) = explode('?',$match,2);
118 if(preg_match('/\b(\d+)[xX](\d+)\b/',$params,$match)){
119 $data['width'] = $match[1];
120 $data['height'] = $match[2];
124 if(preg_match('/\b[xX](\d+)\b/',$params,$match)){
125 $data['height'] = $match[1];
126 $data['width'] = $match[1]*$data['imageWidth']/$data['imageHeight'];
128 else if(preg_match('/\b(\d+)\b/',$params,$match)){
129 $data['width'] = $match[1];
130 $data['height'] = $match[1]*$data['imageHeight']/$data['imageWidth'];