<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def pre_scan(self):
 """ Prepare string for scanning. """

        escape_re = re.compile(r'\\\n[\t ]+')
        self.source = escape_re.sub('', self.source)