Only attempt to match further lines if we don't already have a hit