Home
last modified time | relevance | path

Searched refs:preg_match_all (Results 1 – 25 of 32) sorted by relevance

12

/webtrees/tests/feature/
H A DIndividualListTest.php32 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 DIndividual.php102preg_match_all('/\n1 (?:' . implode('|', Gedcom::BIRTH_EVENTS) . ').*(?:\n[2-9].*)*\n2 DATE (.+)/'…
113preg_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 DGedcomRecord.php44 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 DSource.php43 preg_match_all('/\n1 REPO @(.+)@/', $this->gedcom, $matches);
/webtrees/app/Services/
H A DGedcomImportService.php53 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);
579preg_match_all("/\n1 (\w+).*(?:\n[2-9].*)*\n2 DATE (.+)(?:\n[2-9].*)*/", $gedrec, $matches, PREG_S…
631preg_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 DCalendarService.php45 use function preg_match_all; alias
127 preg_match_all('/([_A-Z]+)/', $facts, $matches);
323 preg_match_all('/([_A-Z]+)/', $facts, $matches);
H A DGedcomExportService.php56 use function preg_match_all; alias
246 preg_match_all('/\n1 FILE (.+)/', $gedcom, $matches, PREG_SET_ORDER);
/webtrees/app/Http/RequestHandlers/
H A DAutoCompleteCitation.php31 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 DDeleteRecord.php36 use function preg_match_all; alias
80preg_match_all('/\n1 (HUSB|WIFE|CHIL) @(' . Gedcom::REGEX_XREF . ')@/', $new_gedcom, $match) === 1
H A DSearchGeneralPage.php237 preg_match_all('/"([^"]+)"/', $query, $matches, PREG_SET_ORDER);
248 preg_match_all('/[\S]+/', $query, $matches, PREG_SET_ORDER);
/webtrees/app/Module/
H A DClippingsCartModule.php69 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 DAlbumModule.php87preg_match_all('/(?:^1|\n\d) OBJE @(' . Gedcom::REGEX_XREF . ')@/', $fact->gedcom(), $matches);
/webtrees/resources/views/
H A Dfact-place.phtml27 <?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 Dfact-media.phtml13 <?php if (preg_match_all('/\n(2 OBJE\b.*(?:\n[^2].*)*)/', $fact->gedcom(), $matches, PREG_SET_ORDER…
H A Dfact-sources.phtml13 <?php if (preg_match_all('/\n(2 SOUR\b.*(?:\n[^2].*)*)/', $fact->gedcom(), $matches, PREG_SET_ORDER…
H A Dfact-notes.phtml13 <?php if (preg_match_all('/\n(2 NOTE\b.*(?:\n[^2].*)*)/', $fact->gedcom(), $matches, PREG_SET_ORDER…
H A Dindividual-page-name.phtml59 … <?php preg_match_all('/\n2 (\w+) (.+)/', $fact->gedcom(), $matches, PREG_SET_ORDER) ?>
/webtrees/resources/views/modules/media/
H A Dtab.phtml50 …<?php if (preg_match_all('/\n([2-4] OBJE .*)/', $fact->gedcom(), $matches, PREG_SET_ORDER) > 0) : …
/webtrees/resources/views/modules/sources_tab/
H A Dtab.phtml52 …<?php if (preg_match_all('/\n(2 SOUR\b.*(?:\n[^2].*)*)/', $fact->gedcom(), $matches, PREG_SET_ORDE…
/webtrees/resources/views/edit/
H A Draw-gedcom-fact.phtml36 …?= e(Gedcom::REGEX_FACT) ?>" id="gedcom" name="gedcom" rows="<?= 5 + preg_match_all('/\n/', $fact-…
H A Draw-gedcom-record.phtml54 …ir="ltr" id="fact-<?= e($fact->id()) ?>" name="fact[]" rows="<?= 1 + preg_match_all('/\n/', $fact-…
H A Dedit-gedcom-fields.phtml16 preg_match_all('/^(\d+) (\w+) ?(.*)/m', $gedcom, $matches);
/webtrees/resources/views/modules/notes/
H A Dtab.phtml56 …<?php preg_match_all("/\n[1-9] NOTE ?(.*(?:\n\d CONT.*)*)/", $fact->gedcom(), $matches, PREG_SET_O…
/webtrees/app/Http/Middleware/
H A DBadBotBlocker.php44 use function preg_match_all; alias
/webtrees/app/Factories/
H A DFamilyFactory.php61preg_match_all('/\n1 (?:HUSB|WIFE|CHIL) @(' . Gedcom::REGEX_XREF . ')@/', $gedcom . "\n" . $pendin…

12