Factor common code out of delimitTarget and delimitQuery into new