re.findall(r'((([0-9]|[a-z]|[A-Z]){5,8}, )*([0-9]|[a-z]|[A-Z]){5,8} reporting and syncing)', 'johnny, joda89 reporting and syncing heyff, jkojo, jkjkjdf, 2378a reporting and syncing and a lot of other jazz. I looked into whether 34987, 22187, and 36547 will report, but no one has gotten back with me about that. Also 34298 reporting and syncing.')
给了我
^{pr2}$在本例中,每个元组的第一个字符串最长。总是这样吗?如果有人知道每个元组中其他字符串的来源,我也很想知道!谢谢!在
不,从来不是这样。匹配项从从左到右返回到。在
^{}
相关问题 更多 >
编程相关推荐