From: Bob Stayton Date: Mon, 15 Dec 2008 18:17:53 +0000 (+0000) Subject: Fix bug in addnamespace that wrongly deleted some X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5bc90f323d9ee54a586e5376169893d5a5d1df1e;p=docbook-dsssl Fix bug in addnamespace that wrongly deleted some trailing whitespace in a string. --- diff --git a/releasetools/xslns-build b/releasetools/xslns-build index 369037c98..803783320 100755 --- a/releasetools/xslns-build +++ b/releasetools/xslns-build @@ -429,7 +429,7 @@ sub namespacefilter { my $newstring = ''; - while ( $string =~ /^(.*?)($dbname)(.*?$)/s ) { + while ( $string =~ /^(.*?)($dbname)(.*$)/s ) { my $pre = $1; my $name = $2;