正则表达式在mac中工作但在linux中出错。Linux 有所有 python 包,但版本不同
Mac python 版本 = 3.7.9
linux python版本= 3.6.8
line 99
pattern = re.compile(rb"neighbor \d+\.\d+\.\d+\.\d+")
^
SyntaxError: invalid syntax
正则表达式在mac中工作但在linux中出错。Linux 有所有 python 包,但版本不同
Mac python 版本 = 3.7.9
linux python版本= 3.6.8
line 99
pattern = re.compile(rb"neighbor \d+\.\d+\.\d+\.\d+")
^
SyntaxError: invalid syntax