import res="searching search"_______________print(re.search(reg,s))查找s中的最后一个search单词,缺失的语句是
A、reg=r"[A-Za-z]+$";
B、reg=r"^[A-Za-z]+$";
C、reg=r"^[A-Za-z]+";
D、reg=r"[A-Za-z]+"
发布时间:2024-09-07 11:47:11
A、reg=r"[A-Za-z]+$";
B、reg=r"^[A-Za-z]+$";
C、reg=r"^[A-Za-z]+";
D、reg=r"[A-Za-z]+"