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]+^"