题解 | #正则查找网址#

正则查找网址

https://www.nowcoder.com/practice/d22cc21332c24d7ea1dae179025b8cf5

import re

address = input()
pattern = r'https://www'

match_result = re.match(pattern,address)
print(match_result.span())

全部评论

相关推荐

墨西哥大灰狼:如果你的校友卤馆还在的话,他肯定会给你建议的,可是卤馆注销了@ 程序员卤馆
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务