docs: def build_re(self, *pattern, **kwargs):
          """
          Builds a new regular expression pattern
  
          :param pattern:
          :type pattern:
          :param kwargs:
          :type kwargs:
          :return:
          :rtype:
          """
          set_defaults(self._regex_defaults, kwargs)
          set_defaults(self._defaults, kwargs)
          return RePattern(*pattern, **kwargs)