Allocate match objects in the code.