Write a function that matches a string that has an a followed by one or more b's.
import re
def text_match_one(text):
        patterns = 'ab+?'
        if re.search(patterns,  text):
                return 'Found a match!'
        else:
                return('Not matched!')

<s>[INST]<<SYS>>Given a task and its code, generate test cases for the code.<</SYS>>Write a function that matches a string that has an a followed by one or more b's.
import re
def text_match_one(text):
        patterns = 'ab+?'
        if re.search(patterns,  text):
                return 'Found a match!'
        else:
                return('Not matched!')
[/INST]assert text_match_one("ac")==('Not matched!')
assert text_match_one("dc")==('Not matched!')
assert text_match_one("abba")==('Found a match!')</s>