向前看 m = re.search(r'(?<=input\swire\s)(?P<input>\w+)', 'input wire abc') print(m.group('input') # abc #4. 正则不满足时,尝试匹配另外一个正则 m ...
確定! 回上一頁