Fixed typo in Match Repeat code