def rest(self):
return self.string[self.pos:]<EOL>
Get the rest of the string that hasn't been scanned yet.

    >>> s = Scanner("test string")
    >>> s.scan(r'test')
    'test'
    >>> s.rest
    ' string'