def unmatched(match):
 (start, end) = match.span(0)
 return (match.string[:start] + match.string[end:])

def unmatched ( match ) : ( start , end ) = match . span ( 0 ) return ( match . string [ : start ] + match . string [ end : ] )
return unmatched part of re .