
    Design a function to validate if a student's learning sequence demonstrates mastery of a foundational concept followed by at least one successful practice exercise, where the concept completion is marked as 'a' and each successful practice is marked as 'b'. This pattern recognition helps ensure students are properly progressing through the curriculum by completing both the core concept and sufficient practice exercises before advancing.
    

    
import re

def text_match_one(text):
    """
    Design a function to validate if a student's learning sequence demonstrates mastery of a foundational concept followed by at least one successful practice exercise, where the concept completion is marked as 'a' and each successful practice is marked as 'b'. This pattern recognition helps ensure students are properly progressing through the curriculum by completing both the core concept and sufficient practice exercises before advancing.
    

    """
import re

def text_match_one(text):
    """
    Design a function to validate if a student's learning sequence demonstrates mastery of a foundational concept followed by at least one successful practice exercise, where the concept completion is marked as 'a' and each successful practice is marked as 'b'. This pattern recognition helps ensure students are properly progressing through the curriculum by completing both the core concept and sufficient practice exercises before advancing.
    

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