Python Match Case Substring Cppd