/webtrees/tests/feature/ |
H A D | IndividualListTest.php | 32 use function preg_match_all; alias 75 preg_match_all('/%2Findividual-list&alpha=([^"&]+)/', $html, $matches); 82 preg_match_all('/%2Findividual-list&alpha=([^"&]+)/', $html, $matches); 89 preg_match_all('/%2Findividual-list&alpha=([^"&]+)/', $html, $matches); 127 preg_match_all('/%2Fname%2Findividual%2F(X\d+)%2F/', $html, $matches); 134 preg_match_all('/%2Fname%2Findividual%2F(X\d+)%2F/', $html, $matches); 140 preg_match_all('/%2Fname%2Findividual%2F(X\d+)%2F/', $html, $matches); 154 preg_match_all('/%2Fname%2Findividual%2F(X\d+)%2F/', $html, $matches); 160 preg_match_all('/%2Fname%2Findividual%2F(X\d+)%2F/', $html, $matches); 176 preg_match_all('/individual-list&surname=([A-Z]+)/', $html, $matches); [all …]
|
/webtrees/app/ |
H A D | Individual.php | 102 …preg_match_all('/\n1 (?:' . implode('|', Gedcom::BIRTH_EVENTS) . ').*(?:\n[2-9].*)*\n2 DATE (.+)/'… 113 …preg_match_all('/\n1 (?:' . implode('|', Gedcom::DEATH_EVENTS) . ').*(?:\n[2-9].*)*\n2 DATE (.+)/'… 231 if (preg_match_all('/\n2 DATE (.+)/', $this->gedcom, $date_matches)) { 251 preg_match_all('/\n2 DATE (.+)/', $parent->gedcom, $date_matches); 263 preg_match_all('/\n2 DATE (.+)/', $family->gedcom, $date_matches); 274 preg_match_all('/\n2 DATE (.+)/', $spouse->gedcom, $date_matches); 285 preg_match_all('/\n2 DATE (.+)/', $child->gedcom, $date_matches); 296 preg_match_all('/\n2 DATE (.+)/', $grandchild->gedcom, $date_matches); 978 if (preg_match_all('/\/([^\/]*)\//', $full, $matches)) {
|
H A D | GedcomRecord.php | 44 use function preg_match_all; alias 323 preg_match_all($pattern, $gedcom, $matches, PREG_SET_ORDER); 596 … if (preg_match_all('/\n(?:2 PLAC|3 (?:ROMN|FONE|_HEB)) +(.+)/', $event->gedcom(), $ged_places)) { 957 …} elseif (preg_match_all('/\n(\d) ' . Gedcom::REGEX_TAG . ' ' . $value . '/', $fact->gedcom(), $ma… 1031 …if (preg_match_all('/^' . $level . ' (' . $fact_type . ') (.+)((\n[' . $sublevel . '-9].+)*)/m', $… 1039 …if ($match[3] && preg_match_all('/^' . $sublevel . ' (ROMN|FONE|_\w+) (.+)((\n[' . $subsublevel . …
|
H A D | Source.php | 43 preg_match_all('/\n1 REPO @(.+)@/', $this->gedcom, $matches);
|
/webtrees/app/Services/ |
H A D | GedcomImportService.php | 53 use function preg_match_all; alias 88 …$num_matches = preg_match_all('/^[ \t]*(\d+)[ \t]*(@[^@]*@)?[ \t]*(\w+)[ \t]?(.*)$/m', $rec, $matc… 348 … $nchi = preg_match_all('/\n1 CHIL @(' . Gedcom::REGEX_XREF . ')@/', $gedrec, $match); 537 preg_match_all('/\n2 PLAC (.+)/', $gedrec, $matches); 579 …preg_match_all("/\n1 (\w+).*(?:\n[2-9].*)*\n2 DATE (.+)(?:\n[2-9].*)*/", $gedrec, $matches, PREG_S… 631 …preg_match_all('/\n\d+ (' . Gedcom::REGEX_TAG . ') @(' . Gedcom::REGEX_XREF . ')@/', $gedrec, $mat… 770 preg_match_all('/\n\d NOTE (.+(?:\n\d CONT.*)*)/', $gedcom, $matches);
|
H A D | CalendarService.php | 45 use function preg_match_all; alias 127 preg_match_all('/([_A-Z]+)/', $facts, $matches); 323 preg_match_all('/([_A-Z]+)/', $facts, $matches);
|
H A D | GedcomExportService.php | 56 use function preg_match_all; alias 246 preg_match_all('/\n1 FILE (.+)/', $gedcom, $matches, PREG_SET_ORDER);
|
/webtrees/app/Http/RequestHandlers/ |
H A D | AutoCompleteCitation.php | 31 use function preg_match_all; alias 89 …if (preg_match_all('/\n1 SOUR @' . $source->xref() . '@(?:\n[2-9].*)*\n2 PAGE (.*' . $regex_query … 93 …if (preg_match_all('/\n2 SOUR @' . $source->xref() . '@(?:\n[3-9].*)*\n3 PAGE (.*' . $regex_query …
|
H A D | DeleteRecord.php | 36 use function preg_match_all; alias 80 … preg_match_all('/\n1 (HUSB|WIFE|CHIL) @(' . Gedcom::REGEX_XREF . ')@/', $new_gedcom, $match) === 1
|
H A D | SearchGeneralPage.php | 237 preg_match_all('/"([^"]+)"/', $query, $matches, PREG_SET_ORDER); 248 preg_match_all('/[\S]+/', $query, $matches, PREG_SET_ORDER);
|
/webtrees/app/Module/ |
H A D | ClippingsCartModule.php | 69 use function preg_match_all; alias 276 preg_match_all($pattern, $gedcom, $matches, PREG_SET_ORDER); 832 preg_match_all('/\n\d _LOC @(' . Gedcom::REGEX_XREF . ')@/', $record->gedcom(), $matches); 862 preg_match_all('/\n\d OBJE @(' . Gedcom::REGEX_XREF . ')@/', $record->gedcom(), $matches); 890 preg_match_all('/\n\d NOTE @(' . Gedcom::REGEX_XREF . ')@/', $record->gedcom(), $matches); 921 preg_match_all('/\n\d SOUR @(' . Gedcom::REGEX_XREF . ')@/', $record->gedcom(), $matches); 951 preg_match_all('/\n\d REPO @(' . Gedcom::REGEX_XREF . ')@/', $record->gedcom(), $matches); 980 preg_match_all('/\n\d SUBM @(' . Gedcom::REGEX_XREF . ')@/', $record->gedcom(), $matches);
|
H A D | AlbumModule.php | 87 … preg_match_all('/(?:^1|\n\d) OBJE @(' . Gedcom::REGEX_XREF . ')@/', $fact->gedcom(), $matches);
|
/webtrees/resources/views/ |
H A D | fact-place.phtml | 27 <?php if (preg_match_all('/\n3 (?:_HEB|ROMN|FONE) (.+)/', $placerec, $matches) === 1) : ?> 41 …<?php if (preg_match_all('/\n(3 NOTE\b.*(?:\n[^3].*)*)/', $placerec, $matches, PREG_SET_ORDER) > 0…
|
H A D | fact-media.phtml | 13 <?php if (preg_match_all('/\n(2 OBJE\b.*(?:\n[^2].*)*)/', $fact->gedcom(), $matches, PREG_SET_ORDER…
|
H A D | fact-sources.phtml | 13 <?php if (preg_match_all('/\n(2 SOUR\b.*(?:\n[^2].*)*)/', $fact->gedcom(), $matches, PREG_SET_ORDER…
|
H A D | fact-notes.phtml | 13 <?php if (preg_match_all('/\n(2 NOTE\b.*(?:\n[^2].*)*)/', $fact->gedcom(), $matches, PREG_SET_ORDER…
|
H A D | individual-page-name.phtml | 59 … <?php preg_match_all('/\n2 (\w+) (.+)/', $fact->gedcom(), $matches, PREG_SET_ORDER) ?>
|
/webtrees/resources/views/modules/media/ |
H A D | tab.phtml | 50 …<?php if (preg_match_all('/\n([2-4] OBJE .*)/', $fact->gedcom(), $matches, PREG_SET_ORDER) > 0) : …
|
/webtrees/resources/views/modules/sources_tab/ |
H A D | tab.phtml | 52 …<?php if (preg_match_all('/\n(2 SOUR\b.*(?:\n[^2].*)*)/', $fact->gedcom(), $matches, PREG_SET_ORDE…
|
/webtrees/resources/views/edit/ |
H A D | raw-gedcom-fact.phtml | 36 …?= e(Gedcom::REGEX_FACT) ?>" id="gedcom" name="gedcom" rows="<?= 5 + preg_match_all('/\n/', $fact-…
|
H A D | raw-gedcom-record.phtml | 54 …ir="ltr" id="fact-<?= e($fact->id()) ?>" name="fact[]" rows="<?= 1 + preg_match_all('/\n/', $fact-…
|
H A D | edit-gedcom-fields.phtml | 16 preg_match_all('/^(\d+) (\w+) ?(.*)/m', $gedcom, $matches);
|
/webtrees/resources/views/modules/notes/ |
H A D | tab.phtml | 56 …<?php preg_match_all("/\n[1-9] NOTE ?(.*(?:\n\d CONT.*)*)/", $fact->gedcom(), $matches, PREG_SET_O…
|
/webtrees/app/Http/Middleware/ |
H A D | BadBotBlocker.php | 44 use function preg_match_all; alias
|
/webtrees/app/Factories/ |
H A D | FamilyFactory.php | 61 …preg_match_all('/\n1 (?:HUSB|WIFE|CHIL) @(' . Gedcom::REGEX_XREF . ')@/', $gedcom . "\n" . $pendin…
|