Added support for multiple patterns in MatchData, which is a simplistic solution to the pattern variation problem.