Ho una stringa in cui devo prendere solo la parte numerica. Procedo come
segue:
>>> stringa = '€. 219,00'
>>> pattern = '\d+,\d+'
>>> import re
>>> reMatch = re.match(pattern,stringa)
>>> type(reMatch)
<type 'NoneType'>
Come vedete il match non mi torna. Ho provato lo stesso pattern su reg
coach e mi funziona. Dove sbaglio?
Grazie.
PS: Buon we a tutti!
--
Karim Gorjux
_______________________________________________
Python mailing list
Python@lists.python.it
http://lists.python.it/mailman/listinfo/python