repr(ch) :
'<a rel="nofollow" class="taggedlink " href="http://forum.ubuntu-fr.org/" >Forum Ubuntu-fr.org</a>'
pat.search(ch).group(2,1) :
('Forum Ubuntu-fr.org', '"http://forum.ubuntu-fr.org/"')
myDeliciousTag = {'Forum Ubuntu-fr.org': '"http://forum.ubuntu-fr.org/"'}
repr(ch2) :
'<a rel="nofollow"\nclass="taggedlink "\nhref="http://code.google.com/p/spyderlib/" >\n spyderlib - Project Hosting on Google Code\n</a>'
pat.search(ch2).group(2,1) :
('spyderlib - Project Hosting on Google Code', '"http://code.google.com/p/spyderlib/"')
myDeliciousTag = {'Forum Ubuntu-fr.org': '"http://forum.ubuntu-fr.org/"', 'spyderlib - Project Hosting on Google Code': '"http://code.google.com/p/spyderlib/"'}
Partager