I typed the following line in Python shell:
In [67]: print(re.match(r"\d", "\\ddfss"))
None
Since "\d" is a raw string, I expect that re.match will return a match object for the string "\ddfss". Do you know why it doesn't happen?
I typed the following line in Python shell:
In [67]: print(re.match(r"\d", "\\ddfss"))
None
Since "\d" is a raw string, I expect that re.match will return a match object for the string "\ddfss". Do you know why it doesn't happen?