Lines Matching refs:match
75 if (!$inparse && (preg_match('/^(DTSTAMP:)/', $line, $match)
76 || preg_match('/^(LAST-MODIFIED:)/', $line, $match))) {
77 $newtext .= $match[1].$now->format('Ymd').'T'.$now->format('His')."\n";
82 …alnum:]-]*?):@@([0-9]{4})-([0-9]{2})-([0-9]{2}) ([0-9-]{1,2}):([0-9-]{1,2})@@$/', $line, $match)) {
83 if (!strcmp($match[5], '-') || !strcmp($match[6], '-')) {
84 $newtext .= $match[1].':'.$match[2].$match[3].$match[4]."\n";
86 if (count($match[5]) == 1)
87 $match[5] = '0'.$match[5];
88 if (count($match[6]) == 1)
89 $match[6] = '0'.$match[6];
90 … $newtext .= $match[1].':'.$match[2].$match[3].$match[4].'T'.$match[5].$match[6].'00'."\n";
96 if (!$inparse && preg_match('/^([[:alnum:]-]*?):@@(.*)@@$/', $line, $match)) {
97 $newtext .= $match[1].':'.$match[2]."\n";
102 if (!$inparse && preg_match('/^([[:alnum:]-]*?):@@(.*)$/', $line, $match)) {
103 $newtext .= $match[1].':'.$match[2]."\n";
109 if ($inparse && preg_match('/^(.*)@@$/', $line, $match)) {
110 $newtext .= ' '.$match[1]."\n";