This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, effbot, facundobatista, georg.brandl, jmravon
Date 2008-01-08.13:34:26
SpamBayes Score 0.30630535
Marked as misclassified No
Message-id <1199799268.86.0.989177609095.issue1761@psf.upfronthosting.co.za>
In-reply-to
Content
Careful, Perl strings must be double-quoted for \n to be understood as
the newline character:

"""
use Data::Dumper;

$a = "a\nb\nc";
$a =~ s/$/#/;
print Dumper($a);

$a = "a\nb\n";
$a =~ s/$/#/;
print Dumper($a);
"""

And the output is:

$VAR1 = 'a
b
c#';
$VAR1 = 'a
b#
';

Which is definitely different from python output.
History
Date User Action Args
2008-01-08 13:34:29amaury.forgeotdarcsetspambayes_score: 0.306305 -> 0.30630535
recipients: + amaury.forgeotdarc, effbot, georg.brandl, facundobatista, jmravon
2008-01-08 13:34:28amaury.forgeotdarcsetspambayes_score: 0.306305 -> 0.306305
messageid: <1199799268.86.0.989177609095.issue1761@psf.upfronthosting.co.za>
2008-01-08 13:34:26amaury.forgeotdarclinkissue1761 messages
2008-01-08 13:34:26amaury.forgeotdarccreate