Changed 'search' to 'match' method.