[Debian-l10n-commits] r1042 - /dl10n/trunk/lib/Debian/L10n/Spider.pm
nekral-guest at users.alioth.debian.org
nekral-guest at users.alioth.debian.org
Sat May 31 15:22:54 UTC 2008
Author: nekral-guest
Date: Sat May 31 15:22:54 2008
New Revision: 1042
URL: http://svn.debian.org/wsvn/?sc=1&rev=1042
Log:
Only merge the firsts non-space chars of subject_end.
Modified:
dl10n/trunk/lib/Debian/L10n/Spider.pm
Modified: dl10n/trunk/lib/Debian/L10n/Spider.pm
URL: http://svn.debian.org/wsvn/dl10n/trunk/lib/Debian/L10n/Spider.pm?rev=1042&op=diff
==============================================================================
--- dl10n/trunk/lib/Debian/L10n/Spider.pm (original)
+++ dl10n/trunk/lib/Debian/L10n/Spider.pm Sat May 31 15:22:54 2008
@@ -124,8 +124,9 @@
$subject_end = $2."\}".$3;
}
if (defined $subject_end) {
- $subject_end =~ m/^(\S+)/;
- $names .= $1;
+ if ($subject_end =~ m/^(\S+)/) {
+ $names .= $1;
+ }
}
$status =~ s/\p{IsSpace}//g;
More information about the Debian-l10n-commits
mailing list