Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
请不要覆盖Python类型。给您的str变量另一个名称,而不是str。
str
也许尝试查找@google.com 喜欢这样:re.findall(r'@\ w+\。\ w+',your_string)
re.findall(r'@\ w+\。\ w+',your_string)
Please do not overwrite python types. Give your str variable another name than str.
Maybe try finding @google.com like this: re.findall(r'@\w+\.\w+', your_string)
re.findall(r'@\w+\.\w+', your_string)
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
暂无简介
文章 0 评论 0
接受
发布评论
评论(1)
请不要覆盖Python类型。给您的
str
变量另一个名称,而不是str
。也许尝试查找@google.com 喜欢这样:
re.findall(r'@\ w+\。\ w+',your_string)
Please do not overwrite python types. Give your
str
variable another name thanstr
.Maybe try finding @google.com like this:
re.findall(r'@\w+\.\w+', your_string)