結果 : python regex match character or end of string