cvs: phpdoc /scripts revcheck.php

From: Date: Sat, 01 Sep 2001 20:23:10 +0000
Subject: cvs: phpdoc /scripts revcheck.php
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969337372@lists.php.net to get a copy of this message
goba Sat Sep 1 16:23:10 2001 EDT Modified files: /phpdoc/scripts revcheck.php Log: Status can contain spaces Index: phpdoc/scripts/revcheck.php diff -u phpdoc/scripts/revcheck.php:1.1 phpdoc/scripts/revcheck.php:1.2 --- phpdoc/scripts/revcheck.php:1.1 Thu Aug 30 11:34:55 2001 +++ phpdoc/scripts/revcheck.php Sat Sep 1 16:23:09 2001 @@ -84,13 +84,13 @@ // Checking for the translations "revision tag" else { preg_match ("/<!--\s*EN-Revision:\s*\d+\.(\d+)\s*Maintainer:\s*(".$val. - ")\s*Status:\s*(\S+)\s*-->/", $line, $match); + ")\s*Status:\s*(.+)\s*-->/", $line, $match); } // The tag with revision number is not found so search // for n/a revision comment if (count($match) == 0) { preg_match ("'<!--\s*EN-Revision:\s*(n/a)\s*Maintainer:\s*(".$val. - ")\s*Status:\s*(\S+)\s*-->'", $line, $match); + ")\s*Status:\s*(.+)\s*-->'", $line, $match); } return ($match); } // get_tag() function end

« previous php.doc (#969337372) next »