def matched(self):
return self.match.group(<NUM_LIT:0>)<EOL>
Get the whole of the current match.

This method returns whatever would have been returned by the latest
:meth:`scan()` call.

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