问题遇到的现象和发生背景
在Python3.10的IDLE中输入下面的语句,请问为啥没有结果输出?我哪里错了?
问题相关代码,请勿粘贴截图
import re
regex = re.compile(r'(wo)*man')
end = regex.search('This is Batwowoman')
end.group()
在Python3.10的IDLE中输入下面的语句,请问为啥没有结果输出?我哪里错了?
import re
regex = re.compile(r'(wo)*man')
end = regex.search('This is Batwowoman')
end.group()