public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/php] private-php86: minor fix for news2markdown.php
@ 2026-11-27  7:28 Remi Collet
  0 siblings, 0 replies; only message in thread
From: Remi Collet @ 2026-11-27  7:28 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/php
Branch : private-php86
Commit : ba6bb692e14f34744ea1bbdd7a4be87192b790db
Author : Remi Collet <remi@fedoraproject.org>
Date   : 2017-06-07T08:14:47+02:00
Stats  : +1/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/php/c/ba6bb692e14f34744ea1bbdd7a4be87192b790db?branch=private-php86

Log:
minor fix for news2markdown.php

---
diff --git a/news2markdown.php b/news2markdown.php
index 66e8508..325e934 100755
--- a/news2markdown.php
+++ b/news2markdown.php
@@ -13,7 +13,7 @@ $debug = (isset($_SERVER['argv'][2]) && $_SERVER['argv'][2]==-'d');
 $text = explode("\n", $text);
 $in=false;
 foreach ($text as $line) {
-	if (preg_match('/(^[0-9][0-9] ... 20[0-9][0-9])[,]* PHP (.*)$/', $line, $reg)) {
+	if (preg_match('/(^[0-9]+ ... 20[0-9][0-9])[,]* PHP (.*)$/', $line, $reg)) {
 		if ($in) {
 			break;
 		}

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-27  7:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-27  7:28 [rpms/php] private-php86: minor fix for news2markdown.php Remi Collet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox