标签: regex python-2.7
s = "1234Bananas" s = re.sub(r"\d", "", s)
我知道这会选择数字1234,但小写r代表什么呢?
1234
r
re.sub(**r**"\d", "", s)