Lines Matching refs:preg_match

52 use function preg_match;  alias
157 …if (preg_match('/(.*), (\d\d)(\d\d)(\d\d)([NS])(\d\d\d)(\d\d)(\d\d)([EW])$/', $data, $match) === 1…
249 …if (preg_match('/^0 @(' . Gedcom::REGEX_XREF . ')@ (' . Gedcom::REGEX_TAG . ')/', $gedrec, $match)…
268 if (preg_match('/^0 ' . $record_type . '\b/', $gedrec) === 1) {
313 if (preg_match('/\n1 RIN (.+)/', $gedrec, $match)) {
338 if (preg_match('/\n1 HUSB @(' . Gedcom::REGEX_XREF . ')@/', $gedrec, $match)) {
343 if (preg_match('/\n1 WIFE @(' . Gedcom::REGEX_XREF . ')@/', $gedrec, $match)) {
349 if (preg_match('/\n1 NCHI (\d+)/', $gedrec, $match)) {
368 if (preg_match('/\n1 TITL (.+)/', $gedrec, $match)) {
370 } elseif (preg_match('/\n1 ABBR (.+)/', $gedrec, $match)) {
456 if (preg_match('/\n1 PLAC (.+)/', $gedcom, $match)) {
462 if (preg_match('/\n3 LATI ([NS].+)/', $gedcom, $match)) {
468 if (preg_match('/\n3 LONG ([EW].+)/', $gedcom, $match)) {
493 if (preg_match('/^0 _PLAC (.+)/', $gedcom, $match)) {
499 if (preg_match('/\n2 LATI (.+)/', $gedcom, $match)) {
505 if (preg_match('/\n2 LONG (.+)/', $gedcom, $match)) {
710 while (preg_match('/\n1 OBJE(?:\n[2-9].+)+/', $gedcom, $match)) {
714 while (preg_match('/\n2 OBJE(?:\n[3-9].+)+/', $gedcom, $match)) {
718 while (preg_match('/\n3 OBJE(?:\n[4-9].+)+/', $gedcom, $match)) {
743 preg_match('/\n\d FILE (.+)/', $gedcom, $match);
746 preg_match('/\n\d TITL (.+)/', $gedcom, $match);
749 preg_match('/\n\d FORM (.+)/', $gedcom, $match);
752 preg_match('/\n\d MEDI (.+)/', $gedcom, $match);
755 preg_match('/\n\d _SCBK (.+)/', $gedcom, $match);
758 preg_match('/\n\d _PRIM (.+)/', $gedcom, $match);
761 preg_match('/\n\d _TYPE (.+)/', $gedcom, $match);
845 …if (preg_match('/^0 @(' . Gedcom::REGEX_XREF . ')@ (' . Gedcom::REGEX_TAG . ')/', $gedrec, $match)…
847 } elseif (preg_match('/^0 (HEAD)(?:\n|$)/', $gedrec, $match)) {