From 85bb1b2ff27f7a007da411d992d1d14c17d18fb2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Tue, 23 Feb 2016 11:01:32 +0100 Subject: [PATCH] Revert "Warnung in regex eliminiert" MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This reverts commit 5ba69d08849773c459086a0f96484046a845159e. Was auch immer Du da machen wolltest martin, ein .*? in ein .+ umwandeln ist garantiert Blödsinn. --- modules/override/PDF/Table.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/override/PDF/Table.pm b/modules/override/PDF/Table.pm index 7bb1e1500..81bf5d3e4 100644 --- a/modules/override/PDF/Table.pm +++ b/modules/override/PDF/Table.pm @@ -331,7 +331,7 @@ sub table { do { $myone = 0; # This RegEx will split any word that is longer than {25} symbols - $row->[$j] =~ s#(\b\S{$max_word_len}?)(\S.+\b)# $1 $2#; + $row->[$j] =~ s#(\b\S{$max_word_len}?)(\S.*?\b)# $1 $2#; $myone = 1 if ( defined $2 ); } while( $myone ); $row->[$j] =~ s/^\s+//; -- 2.20.1