import re
pattern = '\w'
string = '\wabcd'
match = re.match(pattern,string,re.I)
print(match)
老师你好,我想匹配\w这两个字符串应该怎样操作?