Python Re Replace First Occurrence Leetcode Blind