Python 3.7.4: 're.error: bad escape \s at position 0'

前端 未结 4 629
耶瑟儿~
耶瑟儿~ 2020-12-20 07:05

My program looks something like this:

import re
# Escape the string, in case it happens to have re metacharacters
my_str = \"The quick brown fox jumped\"
esc         


        
4条回答
提交回复
热议问题