Lines Matching refs:match
112 …MPLATE(?:\(.*?\))?--(?:.*?))+)\s*(?:--DATA--\s*(.*))?\s*--EXCEPTION--\s*(.*)/sx', $test, $match)) {
113 $message = $match[1];
114 $condition = $match[2];
115 $templates = self::parseTemplates($match[3]);
116 $exception = $match[5];
117 $outputs = [[null, $match[4], null, '']];
118 …ON--\s*(.*))?\s*((?:--TEMPLATE(?:\(.*?\))?--(?:.*?))+)--DATA--.*?--EXPECT--.*/s', $test, $match)) {
119 $message = $match[1];
120 $condition = $match[2];
121 $templates = self::parseTemplates($match[3]);
159 foreach ($outputs as $i => $match) {
163 ], $match[2] ? eval($match[2].';') : []);
206 $output = trim($template->render(eval($match[1].';')), "\n ");
225 $expected = trim($match[3], "\n ");
249 foreach ($matches as $match) {
250 $templates[($match[1] ? $match[1] : 'index.twig')] = $match[2];