a re problem

cheng magicmas at spymac.com
Fri May 20 10:05:29 EDT 2005


>>> p.sub('','a\nbc')
'abc'
>>> p.sub('','%s') % "a\nbc"
'a\nbc'

is it anyone got some idea why it happen?




More information about the Python-list mailing list