From: Stéphane Jacob Date: Sun, 27 Mar 2011 11:11:46 +0000 (+0200) Subject: Fixes bugs numbering in ChangeLog display. X-Git-Tag: xorg/1.1.1~37^2~48 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=1a8aa6f98f032237442e14089475b25fdab5c27f;p=platal.git Fixes bugs numbering in ChangeLog display. Signed-off-by: Stéphane Jacob --- diff --git a/modules/platal.php b/modules/platal.php index 11b6b85..ca1f914 100644 --- a/modules/platal.php +++ b/modules/platal.php @@ -97,7 +97,7 @@ class PlatalModule extends PLModule '\\1www.\\2', '\\0'), $clog); - $clog = preg_replace('!(#[0-9]+(,[0-9]+)*)!e', 'bugize("\1")', $clog); + $clog = preg_replace('!\(#[0-9]+(,[0-9]+)*\)!e', 'bugize("\1")', $clog); $clog = preg_replace('!vim:.*$!', '', $clog); return preg_replace("!(
(\\s|\n)*)?
(\s|\n)*
((\\s|\n)*
)?!m", "", "
$clog
"); }