match[4] is already saved in check - thanks Balazs.