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