I\'m having trouble matching a digit in a string with Python. While it should be clearly matched, It doesn\'t even match [0-9] [\\d] or just
[0-9]
[\\d]
Read the documentation: http://docs.python.org/2/library/re.html#re.match
If zero or more characters at the beginning of string
You want to use re.search (or re.findall)
re.search
re.findall