Allow a regex to be used in contains log