Discuss / Python / 廖大 \w \d貌似不只是匹配一个,而是一串

廖大 \w \d貌似不只是匹配一个,而是一串

Topic source

醉儚囈語

#1 Created at ... [Delete] [Delete and Lock User]

如题

醉儚囈語

#2 Created at ... [Delete] [Delete and Lock User]

而且\w 除了特殊符号不行,数字、字符串都可以

廖雪峰

#3 Created at ... [Delete] [Delete and Lock User]

请仔细测试,如果是一串的话,加*就没有意义了


  • 1

Reply