
    Design a validation function for the learning management system that checks if a student's response follows the correct linguistic pattern of having a primary sound ('a') immediately followed by at least one secondary sound ('b') in language pattern exercises.
    

    
import re

def text_match_one(text):
    """
    Design a validation function for the learning management system that checks if a student's response follows the correct linguistic pattern of having a primary sound ('a') immediately followed by at least one secondary sound ('b') in language pattern exercises.
    

    """
import re

def text_match_one(text):
    """
    Design a validation function for the learning management system that checks if a student's response follows the correct linguistic pattern of having a primary sound ('a') immediately followed by at least one secondary sound ('b') in language pattern exercises.
    

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