`#prefix*middle*suffix` should match the same way that Postgres `WHERE tag LIKE 'prefix%middle%suffix'` does.