Lines Matching refs:match
186 if (preg_match('/^1 (' . Gedcom::REGEX_TAG . ')/', $gedcom, $match)) {
190 $this->tag = $match[1];
204 if (preg_match('/^1 ' . $this->tag . ' ?(.*(?:\n2 CONT ?.*)*)/', $this->gedcom, $match)) {
205 $value = preg_replace("/\n2 CONT ?/", "\n", $match[1]);
220 if (!preg_match('/^@(' . Gedcom::REGEX_XREF . ')@$/', $this->value(), $match)) {
224 $xref = $match[1];
270 if (preg_match('/\n2 ' . $tag . '\b ?(.*(?:(?:\n3 CONT ?.*)*)*)/', $this->gedcom, $match)) {
271 $value = preg_replace("/\n3 CONT ?/", "\n", $match[1]);
284 if (preg_match('/\n4 LATI (.+)/', $this->gedcom, $match)) {
287 return $gedcom_service->readLatitude($match[1]);
298 if (preg_match('/\n4 LONG (.+)/', $this->gedcom, $match)) {
301 return $gedcom_service->readLongitude($match[1]);