# Write a function that matches a string that has an a followed by zero or more b's by using regex.
import re


def text_match(text):
    patterns = "ab*?"
    if re.search(patterns, text):
        return "Found a match!"
    else:
        return "Not matched!"
