Lines Matching refs:matches
32 if (preg_match('#\<\?xml([^\>]+)\?\>#i', $SVGheader, $matches)) {
33 $info['svg']['xml']['raw'] = $matches;
35 if (preg_match('#\<\!DOCTYPE([^\>]+)\>#i', $SVGheader, $matches)) {
36 $info['svg']['doctype']['raw'] = $matches;
38 if (preg_match('#\<svg([^\>]+)\>#i', $SVGheader, $matches)) {
39 $info['svg']['svg']['raw'] = $matches;
49 while (preg_match('/ "([^"]+)"/', $info['svg'][$section_to_fix]['raw'][1], $matches)) {
50 $section_data[] = $matches[1];
51 …$info['svg'][$section_to_fix]['raw'][1] = str_replace($matches[0], '', $info['svg'][$section_to_fi…
53 while (preg_match('/([^\s]+)="([^"]+)"/', $info['svg'][$section_to_fix]['raw'][1], $matches)) {
54 $section_data[] = $matches[0];
55 …$info['svg'][$section_to_fix]['raw'][1] = str_replace($matches[0], '', $info['svg'][$section_to_fi…
86 if (preg_match('#//W3C//DTD SVG ([0-9\.]+)//#i', $key, $matches)) {
87 $info['svg']['version'] = $matches[1];