string & regexp support, user can modify six variables.