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