'Builds a new string pattern
:param pattern:
:type pattern:
:param kwargs:
:type kwargs:
:return:
:rtype:'

def build_string(self, *pattern, **kwargs):

    set_defaults(self._string_defaults, kwargs)
    set_defaults(self._defaults, kwargs)
    return StringPattern(*pattern, **kwargs)
