input: 
  from typing import List
  
  def search_customer(customers: List[dict], customer_name: str) -> List[dict]:
      """ Searches for customer data in the provided list of customer dictionaries
      and returns a list of dictionaries matching the customer's name.
      
      >>> search_customer([{'name': 'John Doe', 'age': 34}, {'name': 'Jane Doe', 'age': 32}], 'John Doe')
      [{'name': 'John Doe', 'age': 34}]
      >>> search_customer([{'name': 'John Doe', 'age': 34}, {'name': 'Jane Doe', 'age': 32}], 'Jane')
      [{'name': 'Jane Doe', 'age': 32}]
      >>> search_customer([{'name': 'John Doe', 'age': 34}, {'name': 'Jane Doe', 'age': 32}], 'Doe')
      [{'name': 'John Doe', 'age': 34}, {'name': 'Jane Doe', 'age': 32}]
      >>> search_customer([{'name': 'John Doe', 'age': 34}, {'name': 'Jane Doe', 'age': 32}], 'Doe')
      """
      return [customer for customer in customers if customer_name.lower() in customer['name'].lower()]
  
output:     return [customer for customer in customers if customer_name.lower() in customer['name'].lower()]