From 672c92dd5af2f5c20cff4a4720184937ad1f4c56 Mon Sep 17 00:00:00 2001 From: idl0r Date: Wed, 10 Feb 2010 16:22:52 +0000 Subject: [PATCH] src/echangelog/echangelog: Fix replacement regex for TextWrap, thanks to Torsten Veller , bug 304249. svn path=/trunk/gentoolkit-dev/; revision=741 --- ChangeLog | 4 ++++ src/echangelog/echangelog | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index cfe5d03..8c28909 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2010-02-10: Christian Ruppert + src/echangelog/echangelog: Fix replacement regex for TextWrap, thanks to + Torsten Veller , bug 304249. + 2010-02-02: Christian Ruppert src/echangelog/echangelog: Add --vcs switch to specify the vcs without autodetection as requested per bug 302784, thanks to Martin von Gagern diff --git a/src/echangelog/echangelog b/src/echangelog/echangelog index 820614b..b414b1f 100755 --- a/src/echangelog/echangelog +++ b/src/echangelog/echangelog @@ -136,7 +136,7 @@ sub text_fill { my $pp; for $pp ( split(/\n\s+/, join("\n", @raw)) ) { - $pp =~ s/[\x09|\x0B|\x0C|\x20]+/ /g; + $pp =~ s/[\x09\x0B\x0C\x20]+/ /g; my $x = Text::Wrap::wrap($ip, $xp, $pp); push(@para, $x); } -- 2.26.2