关于Pyhton正则报错: sre_constants.error: nothing to repeat at position
写了错误的正则表达式 1、\b 后带数量 将\d 误写成了\b , 尷尬! >>> pattern = re.compile(r'123\b*hello') ...
写了错误的正则表达式 1、\b 后带数量 将\d 误写成了\b , 尷尬! >>> pattern = re.compile(r'123\b*hello') ...