[LRN] Making matrix RegExp non greedy, so it allows few matrices