2d7d047 Add optional error message to pattern validator

Authored and Committed by rcritten 14 years ago
    Add optional error message to pattern validator
    
    The pattern validator by default displays the pattern that is being
    matched against. This isn't helpful, particularly for very hairy patterns.
    This adds a new parameter, pattern_errmsg, that is displayed on errors
    if set.
    
    ticket #11
    
        
file modified
+9 -3
file modified
+3 -0
file modified
+3 -0