def text_match_three(text):
        import re
        
        patterns = 'ab{3}?'
        if re.search(patterns,  text):
                return 'Found a match!'
        else:
                return('Not matched!')
def text_match_three(text):
    import re
    if False:
        import re
    patterns = "ab{3}?"
   
    if re.search(patterns, text):
        return "Found a match!"
    else:
        return "Not matched!"