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 facundobatista
Recipients amaury.forgeotdarc, effbot, facundobatista, georg.brandl, jmravon
Date 2008-01-08.13:13:48
SpamBayes Score 0.2155596
Marked as misclassified No
Message-id <1199798030.09.0.711266200763.issue1761@psf.upfronthosting.co.za>
In-reply-to
Content
As re provides regular expression matching operations similar to those
found in Perl, I tried there to see what happens:

"""
use Data::Dumper;

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

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

$ perl pru_sub.pl
$VAR1 = 'a\\nb\\nc#';
$VAR1 = 'a\\nb\\n#';
History
Date User Action Args
2008-01-08 13:13:50facundobatistasetspambayes_score: 0.21556 -> 0.2155596
recipients: + facundobatista, effbot, georg.brandl, amaury.forgeotdarc, jmravon
2008-01-08 13:13:50facundobatistasetspambayes_score: 0.21556 -> 0.21556
messageid: <1199798030.09.0.711266200763.issue1761@psf.upfronthosting.co.za>
2008-01-08 13:13:49facundobatistalinkissue1761 messages
2008-01-08 13:13:48facundobatistacreate