I was helping a guy at work with regular expressions and found
something I didn't expect:

>>> re.match('\d', '7').group()
'7'
>>> re.match('\\d', '7').group()
'7'
>>>

It's not clear to me why these are the same. Could someone please
explain?

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to