Lines Matching refs:preg_match
65 use function preg_match; alias
304 if (preg_match("/^\\$(\w+)$/", $value, $match)) {
705 if (preg_match('/\$(.+)/', $tag, $match)) {
713 if (preg_match('/@(.+)/', $tag, $match)) {
715 if (preg_match("/\d $match[1] @([^@]+)@/", $tgedrec, $gmatch)) {
734 if (preg_match("/(\d+) (_?[A-Z0-9]+) (.*)/", $this->gedrec, $match)) {
956 if (preg_match('/0 @(.+)@/', $this->gedrec, $match)) {
960 if (preg_match('/\$(.+)/', $attrs['id'], $match)) {
965 if (preg_match('/@(.+)/', $attrs['id'], $match)) {
967 if (preg_match("/\d $match[1] @([^@]+)@/", $this->gedrec, $gmatch)) {
1010 if (preg_match('/0 @(.+)@/', $this->gedrec, $match)) {
1138 …if (preg_match('/^\d ' . Gedcom::REGEX_TAG . ' @(' . Gedcom::REGEX_XREF . ')@/', $subrecord, $xref…
1278 if (preg_match('/^I18N::number\((.+)\)$/', $var, $match)) {
1280 } elseif (preg_match('/^I18N::translate\(\'(.+)\'\)$/', $var, $match)) {
1282 … } elseif (preg_match('/^I18N::translateContext\(\'(.+)\', *\'(.+)\'\)$/', $var, $match)) {
1317 if (preg_match('/0 @(.+)@/', $this->gedrec, $match)) {
1324 if (preg_match('/\$(.+)/', $tag, $match)) {
1394 if (preg_match('/1 (\w+)(.*)/', $this->gedrec, $match)) {
1398 if (preg_match('/2 TYPE (.+)/', $this->gedrec, $tmatch)) {
1464 if (preg_match('/0 @(.+)@/', $this->gedrec, $match)) {
1473 } elseif (preg_match("/@(\w+)/", $value, $match)) {
1475 if (preg_match("/\d $match[1] (.+)/", $this->gedrec, $gmatch)) {
1479 if (preg_match("/\\$(\w+)/", $name, $match)) {
1489 if (preg_match('/^I18N::number\((.+)\)$/', $value, $match)) {
1491 } elseif (preg_match('/^I18N::translate\(\'(.+)\'\)$/', $value, $match)) {
1493 } elseif (preg_match('/^I18N::translateContext\(\'(.+)\', *\'(.+)\'\)$/', $value, $match)) {
1498 if (preg_match("/(\d+)\s*([-+*\/])\s*(\d+)/", $value, $match)) {
1546 if (preg_match('/0 @(.+)@/', $this->gedrec, $match)) {
1608 if (preg_match('/[0-9] (.+) @(.+)@/', $this->gedrec, $match)) {
1693 if (preg_match('/0 @(.+)@/', $this->gedrec, $match)) {
1764 if (preg_match("/\d OBJE @(.+)@/", $this->gedrec, $match)) {
1787 if (file_exists($file) && preg_match('/(jpg|jpeg|png|gif)$/i', $file)) {
1880 if (preg_match("/\\$(\w+)/", $sortby, $match)) {
1917 if (preg_match('/^(\w+):DATE (LTE|GTE) (.+)$/', $value, $match)) {
1936 } elseif (preg_match('/^NAME CONTAINS (.+)$/', $value, $match)) {
1950 } elseif (preg_match('/^LIKE \/(.+)\/$/', $value, $match)) {
1958 } elseif (preg_match('/^(?:\w*):PLAC CONTAINS (.+)$/', $value, $match)) {
1972 } elseif (preg_match('/^(\w*):(\w+) CONTAINS (.+)$/', $value, $match)) {
1977 } elseif (preg_match('/^(\w+) CONTAINS (.*)$/', $value, $match)) {
2003 if (preg_match('/^(\w+):DATE (LTE|GTE) (.+)$/', $value, $match)) {
2022 } elseif (preg_match('/^LIKE \/(.+)\/$/', $value, $match)) {
2030 } elseif (preg_match('/^NAME CONTAINS (.*)$/', $value, $match)) {
2052 } elseif (preg_match('/^(?:\w*):PLAC CONTAINS (.+)$/', $value, $match)) {
2066 } elseif (preg_match('/^(\w*):(\w+) CONTAINS (.+)$/', $value, $match)) {
2071 } elseif (preg_match('/^(\w+) CONTAINS (.+)$/', $value, $match)) {
2095 if (preg_match("/filter(\d)/", $key)) {
2097 if (preg_match("/@(\w+)/", $condition, $match)) {
2101 if (preg_match('/0 @(.+)@/', $this->gedrec, $match)) {
2109 if (preg_match("/\d $id (.+)/", $this->gedrec, $match)) {
2116 if (preg_match("/([A-Z:]+)\s*([^\s]+)\s*(.+)/", $condition, $match)) {
2120 if (preg_match("/\\$(\w+)/", $val, $match)) {
2175 … if (!preg_match('/' . $filter . '/i', $record->privatizeGedcom(Auth::accessLevel($this->tree)))) {
2393 if (preg_match("/\\$(\w+)/", $sortby, $match)) {
2405 if (preg_match("/\\$(\w+)/", $group, $match)) {
2412 if (preg_match("/\\$(\w+)/", $id, $match)) {
2789 $ct = preg_match("/$level $t(.*)/", $subrec, $match);
2791 $ct = preg_match("/$level @.+@ (.+)/", $subrec, $match);
2794 $ct = preg_match("/@ $t (.+)/", $subrec, $match);
2798 if ($t === 'NOTE' && preg_match('/^@(.+)@$/', $value, $match)) {