cheng wrote:
>>>p.sub('','%s') % "a\nbc" >>> >>> >'a\nbc' > >is it anyone got some idea why it happen? > Make that p.sub('','%s' % "a\nbc") Regards /Mikael Olofsson Universitetslektor (Senior Lecturer [BrE], Associate Professor [AmE]) Linköpings universitet ----------------------------------------------------------------------- E-Mail: [EMAIL PROTECTED] WWW: http://www.dtr.isy.liu.se/en/staff/mikael Phone: +46 - (0)13 - 28 1343 Telefax: +46 - (0)13 - 28 1339 ----------------------------------------------------------------------- Linköpings kammarkör: www.kammarkoren.com Vi söker tenorer och basar! -- http://mail.python.org/mailman/listinfo/python-list