How to make Regex re.search(r“\s”, word) not consider \n as whitespace?

前端 未结 0 1320
一向
一向 2021-01-05 09:11

After searching online I realized that re.search(r"\\s", word) considers "\\n" as whitespace if it is in the word. I am parsing data of a large JSON fil

相关标签:
回答
  • 消灭零回复
提交回复
热议问题