def build_string(self, *pattern, **kwargs):
        """
        Builds a new string pattern

        :param pattern:
        :type pattern:
        :param kwargs:
        :type kwargs:
        :return:
        :rtype:
        """
        set_defaults(self._string_defaults, kwargs)
        set_defaults(self._defaults, kwargs)
        return StringPattern(*pattern, **kwargs)
def build_string ( self , * pattern , ** kwargs ) : set_defaults ( self . _string_defaults , kwargs ) set_defaults ( self . _defaults , kwargs ) return StringPattern ( * pattern , ** kwargs )
Builds a new string pattern

        :param pattern:
        :type pattern:
        :param kwargs:
        :type kwargs:
        :return:
        :rtype: