Does \W+ match everything in Python regular expressions?Why do I need to write \W+ twice here?

CSDN Q&A 2022-08-06 09:37:24 阅读数:944

w+matchpythonregularexpressions

img

img


Does \W+ match everything in Python regular expressions?Why do I need to write \W+ twice here, otherwise it will match other strings

版权声明:本文为[CSDN Q&A]所创,转载请带上原文链接,感谢。 https://pythonmana.com/2022/218/202207301824177157.html