Lines Matching refs:matches
268 $matches = preg_split("/@(.*)\s*[{(](.*),/U", $entry, 2, PREG_SPLIT_DELIM_CAPTURE);
269 $this->entries[$this->count]['bibtexEntryType'] = strtolower($matches[1]);
271 if(preg_match("/=/", $matches[2])) // this is a field
272 $matches = preg_split("/@(.*)\s*[{(](.*)/U", $entry, 2, PREG_SPLIT_DELIM_CAPTURE);
274 $this->entries[$this->count]['bibtexCitation'] = $matches[2];
275 $this->reduceFields($matches[3]);
283 if(preg_match("/@(.*)\s*([{(])/", preg_quote($line), $matches))
287 $count += $this->braceCount($line, $matches[2]);
301 if(!array_key_exists(1, $matches))
303 if(preg_match("/string/i", $matches[1]))
305 else if(preg_match("/preamble/i", $matches[1]))
413 preg_match("/.*[{(](.*)/", $value, $matches);
414 $preamble = substr($matches[1], 0, -1);
426 $matches = preg_split("/@string\s*([{(])/i", $value, 2, PREG_SPLIT_DELIM_CAPTURE);
427 $delimit = $matches[1];
428 $matches = preg_split("/=/", $matches[2], 2, PREG_SPLIT_DELIM_CAPTURE);
429 $strings[trim($matches[0])] = trim($this->extractStringValue($matches[1]));