The PatternConfig interface extends the BaseValidatorConfig interface to provide configuration options for validation using regular expressions. It allows you to define multiple regular expression patterns for different keys within an expression object.
expression (Optional): An object containing key-value pairs where:
message, messageKey, and potentially conditionalExpression depending on the library implementation).