document expected var names; text pattern subvars