Antoine Millet committed 2037422

Removed regex attribute from the String type

  • Participants
  • Parent commits 9b90aed

Comments (0)

Files changed (1)

File dotconf/schema/

     """ A type representing a string in the configuration.
-    :param regex: if provided, the string will be validated to match with the
-                  regex
     Example in configuration::
         my_string = "hello, world!"
-    def __init__(self, regex=None):
+    def __init__(self):
         super(String, self).__init__()
-        self._regex = regex
     def validate(self, value):
         return str(value)