Diff for /cdn/www/sources.html between versions 1.73 and 1.75

version 1.73, 2003/02/21 19:03:24 version 1.75, 2003/02/21 19:07:36
Line 70  cvs -d :pserver:guest@mozdev.org:/cvs co Line 70  cvs -d :pserver:guest@mozdev.org:/cvs co
   
     // preprocess Tag: stuff      // preprocess Tag: stuff
           
    $stnetnoc = implode('_[_cdn_]_', $contents); // echo '<pre>' . $stnetnoc . '</pre></p>';    $stnetnoc = implode('_[_cdn_]_', $contents);  echo '<pre>' . $stnetnoc . '</pre></p>';
           
    $contents = ereg_replace('Tag\:[[:space:]]{1,}_\[_cdn_\]_[[:space:]]{1,}', 'Tag: ', $stnetnoc);    $contents = ereg_replace('Tag\:[[:space:]]{1,}_\[_cdn_\]_[[:space:]]{1,}', 'Tag: ', $stnetnoc);  echo '<pre style="color: red;">' . $contents . '</pre></p>';
   
    $stetnoc = ereg_replace('Log\:+[[:space:]]{1,}_\[_cdn_\]_+Tag', "Log\:_[_cdn_]_Tg", $stetnoc);    $stetnoc = ereg_replace('Log\:[[:space:]]{1,}_\[_cdn_\]_[[:space:]]{1,}Tag', "Log\:_[_cdn_]_Tg", $stetnoc);
   
     $stnetnoc = eregi_replace("Tag\:\ [^[:space:]\.]{1,}\ ", "\\0_[_cdn_]_                        ", $contents);      $stnetnoc = eregi_replace("Tag\:\ [^[:space:]\.]{1,}\ ", "\\0_[_cdn_]_                        ", $contents);
     // needs to not process 'Tag:' if in a commemt, i.e. it follows 'Log:'      // needs to not process 'Tag:' if in a commemt, i.e. it follows 'Log:'
           
    $stetnoc = ereg_replace('Log\:_\[_cdn_\]_+Tg', "Log\:_[_cdn_]_Tag", $stetnoc);    $stetnoc = ereg_replace('Log\:_\[_cdn_\]_Tg', "Log\:_[_cdn_]_Tag", $stetnoc);
   
     $contents = explode('_[_cdn_]_', $stnetnoc);      $contents = explode('_[_cdn_]_', $stnetnoc);
           

Removed from v.1.73  
changed lines
  Added in v.1.75


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>