"""
Validators for the Allyanonimiser package - stub for testing.
"""

def validate_regex(pattern):
    """Stub function for testing."""
    return True, ""

def validate_spacy_pattern(pattern):
    """Stub function for testing."""
    return True, ""

def validate_context_list(context_list):
    """Stub function for testing."""
    return True, ""

def validate_entity_type(entity_type):
    """Stub function for testing."""
    return True, ""

def validate_pattern_definition(pattern_def):
    """Stub function for testing."""
    return True, ""

def analyze_pattern_examples(pattern, positive_examples, negative_examples=None):
    """Stub function for testing."""
    return True, ""
    
# Alias for backward compatibility
test_pattern_against_examples = analyze_pattern_examples