Definition:
Back to the main index of this glossary
>>> import re
>>> english = '"Never increase, beyond what is necessary, the number of entities required to explain anything." -- William of Ockham (1285-1349)'
>>> print re.findall(r'\d', english)
['1', '2', '8', '5', '1', '3', '4', '9']
Back to the main index of this glossary
