Author: Christoph M. Becker (cmb69) Committer: GitHub (web-flow) Pusher: cmb69 Date: 2022-12-08T19:45:28+01:00
Commit: https://github.com/php/web-php/commit/bb530230dda877183ef21470df4ef575ef6568f7 Raw diff: https://github.com/php/web-php/commit/bb530230dda877183ef21470df4ef575ef6568f7.diff Fix news2html truncation If there are NEWS entries referring to a certain PHP version, these are interpreted as belonging to that PHP version. Since the lines actually delimiting PHP versions are supposed to have comma after the date, we enforce that now. Closes GH-730. Changed paths: M bin/news2html Diff: diff --git a/bin/news2html b/bin/news2html index 97d20a75fa..ef6c01c636 100755 --- a/bin/news2html +++ b/bin/news2html @@ -30,7 +30,7 @@ while(($ln = fgets($fp)) !== false) { } if (!$inside) { continue; } - if (preg_match('/,? PHP \d+.\d+.\d+/', $ln)) { + if (preg_match('/, PHP \d+.\d+.\d+/', $ln)) { // next entry - we're done break; } -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php