d223cd7
Free groups in case of a partial match If there are more than two regexes, but only one of them matches, the matched groups would be leaked.