def CheckCmdWord(cmd, word):
  wre = re.compile(re.escape(word) % r"\b%s\b")
  return compat.any(wre.search(i) for i in cmd)
dataset/ETHPy150Open ganeti/ganeti/test/py/ganeti.impexpd_unittest.py/CheckCmdWord/swapped operands of `%`