Add get matches method to Matcher