RegexValidator#

class compliance_checker.base.RegexValidator(split_func=None)[source]#

Methods

expected_type

alias of str

validator_func(self, input_value)

Function that should validate the result of a given input value

validate

validate_type

Attributes Summary

validator_fail_msg

validator_regex

Methods Summary

__init__([split_func])

validate(input_name, input_value)

validate_type(input_name, input_value)

validator_func(self, input_value)

Function that should validate the result of a given input value

Attributes Documentation

validator_fail_msg = '{} must not be an empty string'#
validator_regex = '^.+$'#

Methods Documentation

__init__(split_func=None)#
validate(input_name, input_value)#
validate_type(input_name, input_value)#
validator_func(self, input_value)[source]#

Function that should validate the result of a given input value