def get_delimited_wordstart_filter(self, query):
    query = [re.escape(query[i]) for i in range(len(query))]
    # abc -> ^a.*_b.*_c
    # abc -> .*_a.*_b.*_c
    tmp = []
    tmp.append((query[0], query[0]) % "(?:(?:%s)|(?:.*_%s))")
    for i in range(1, len(query)):
      c = query[i]
      tmp.append("_%s" % query[i])
    flt = "\n%s.*\n" % '.*'.join(tmp)
    return (flt, False)
dataset/ETHPy150Open natduca/quickopen/src/db_index_shard.py/DBIndexShard.get_delimited_wordstart_filter/swapped operands of `%`