svn: /phpdoc/doc-base/trunk/scripts/include/ lib-translations.inc.php
| From: | Hannes Magnusson | Date: | Mon, 09 Nov 2009 19:54:15 +0000 |
| Subject: | svn: /phpdoc/doc-base/trunk/scripts/include/ lib-translations.inc.php | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-5303@lists.php.net to get a copy of this message | ||
bjori Mon, 09 Nov 2009 19:54:15 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=290444
Log:
Fix regex after CVS->SVN move
Changed paths:
U phpdoc/doc-base/trunk/scripts/include/lib-translations.inc.php
Modified: phpdoc/doc-base/trunk/scripts/include/lib-translations.inc.php
===================================================================
--- phpdoc/doc-base/trunk/scripts/include/lib-translations.inc.php 2009-11-09 19:53:14 UTC (rev
290443)
+++ phpdoc/doc-base/trunk/scripts/include/lib-translations.inc.php 2009-11-09 19:54:15 UTC (rev
290444)
@@ -54,8 +54,8 @@
$match_en = $match_lang = array();
- preg_match ("/<!-- .Revision: \d+\.(\d+) . -->/", $en, $match_en);
- preg_match ("/<!--\s*EN-Revision:\s*\d+\.(\d+)\s*/", $lang, $match_lang);
+ preg_match ("/<!-- .Revision: (\d+) . -->/", $en, $match_en);
+ preg_match ("/<!--\s*EN-Revision:\s*(\d+)\s*/", $lang, $match_lang);
if (empty($match_en[1]) || empty($match_lang[1])) {
trigger_error("Cannot extract Revision info for (LANG: $filename_lang) (EN:
$filename_lang)", E_USER_WARNING);