$pattern in seach()