svn: SVNROOT/ commit-email.php

From: Date: Sun, 19 Jul 2009 16:05:55 +0000
Subject: svn: SVNROOT/ commit-email.php
Groups: php.cvs svn.migration 
Request: Send a blank email to svn-migration+get-503@lists.php.net to get a copy of this message
rasmus Sun, 19 Jul 2009 16:05:55 +0000 URL: http://svn.php.net/viewvc?view=revision&revision=284370 Changed paths: U SVNROOT/commit-email.php Log: Support #12345 as well Modified: SVNROOT/commit-email.php =================================================================== --- SVNROOT/commit-email.php 2009-07-19 16:05:08 UTC (rev 284369) +++ SVNROOT/commit-email.php 2009-07-19 16:05:55 UTC (rev 284370) @@ -122,7 +122,7 @@ $commit_date = strtotime(substr($commit_info[1], 0, strlen("0000-00-00 00:00:00 +0000"))); $commit_log = implode("\n", array_slice($commit_info, 3)); // Support bug#1234 bug url extraction -$bugs = preg_match_all("/bug[\\s#:]*([0-9]+)/i", $commit_log, $bugs_array); +$bugs = preg_match_all("/(?:bug|#)[\\s#:]*([0-9]+)/i", $commit_log, $bugs_array); // ----------------------------------------------------------------------------------------------------------------------------- // Determine "from" address

« previous svn.migration (#503) next »