'Pull the appropriate field data from the context to pass to the next wizard step'

def grabFieldData(self, response):

    previous_fields = response.context['previous_fields']
    fields = {'wizard_step': response.context['step0']}
    def grab(m):
        fields[m.group(1)] = m.group(2)
        return ''
    self.input_re.sub(grab, previous_fields)
    return fields
