(self, result, pattern)
return value
After we validated the string, we put it back together; this is
        good, since we can easily clean up the data this way.
After we validated the string, we put it back together; this is
        good, since we can easily clean up the data this way.
After we validated the string we put it back together ; this is good since we can easily clean up the data this way .
def construct_value_from_match(self, result, pattern):
        """After we validated the string, we put it back together; this is
        good, since we can easily clean up the data this way.
        """
        value = self._escape_special_characters(pattern)
        _symbols = '['+NUMBERSYMBOL + CHARSYMBOL + NUMCHARSYMBOL + ']'
        re_obj = re.compile(_symbols+'{1,}\*?')
        for res in result.groups():
            match = re_obj.search(value)
            value = value[:match.start()] + res + value[match.end():]
        return value
def construct_value_from_match ( self , result , pattern ) : value = self . _escape_special_characters ( pattern ) _symbols = '[' + NUMBERSYMBOL + CHARSYMBOL + NUMCHARSYMBOL + ']' re_obj = re . compile ( _symbols + '{1,}\*?' ) for res in result . groups ( ) : match = re_obj . search ( value ) value = value [ : match . start ( ) ] + res + value [ match . end ( ) : ] return value