Fix error in sed matching