我要讓妳過好日子
text = "123 is num" re.match("^(\d+) is num$", text).group(1)
text = "123 is num" re.match("^(?P<num>\d+) is num$", text).group("num")
張貼留言
沒有留言:
張貼留言