Add term_regex to 2i query