关于#正则表达式#的问题,如何解决?(语言-python)

from re import match
print(match('AppBattery', 'https://cowork.lenovo.com/departments/quality/_layouts/15/FormServer.aspx?XmlLocation=https://cowork.lenovo.com/departments/quality/AppBattery/INOT-2022-0403%20-%204740.xml&Source=/departments/quality/&DefaultItemOpen=1'))
这个代码里为什么匹配AppBatter或者quality返回的都是None啊,超链接文本会有什么特殊操作吗?
匹配https://cowork.lenovo.com/倒是能返回结果

match()只有在0位置匹配成功的话才有返回,如果不是开始位置匹配成功的话,match()就返回none
用search()

python中,正则的match方法,是以字符串开头为匹配开始的,默认正则表达式里追加了字符串起始位置符^的

不要用match,match是必须完全匹配
改用findall