
    Design a pattern validation function for an adaptive learning system that checks if a student's response contains the letter 'a' immediately followed by at least one 'b', which is essential for assessing their understanding of basic pattern recognition rules. The function should return true only if this specific pattern is found in the student's input string, helping the system determine if the student has grasped the concept of sequential character patterns.
    

    
import re

def text_match_one(text):
    """
    Design a pattern validation function for an adaptive learning system that checks if a student's response contains the letter 'a' immediately followed by at least one 'b', which is essential for assessing their understanding of basic pattern recognition rules. The function should return true only if this specific pattern is found in the student's input string, helping the system determine if the student has grasped the concept of sequential character patterns.
    

    """
import re

def text_match_one(text):
    """
    Design a pattern validation function for an adaptive learning system that checks if a student's response contains the letter 'a' immediately followed by at least one 'b', which is essential for assessing their understanding of basic pattern recognition rules. The function should return true only if this specific pattern is found in the student's input string, helping the system determine if the student has grasped the concept of sequential character patterns.
    

    """
    patterns = 'ab+?'
    if re.search(patterns, text):
        return True
    else:
        return False