下方列出幾種re 模組常用的方法( 參考Python 官方文件:re ): ... print(result_match2.group()) # HeLlo print(result_match2.group(1)) # 發生錯誤no such group.
確定! 回上一頁