docs: function getPattern(type_, limit) {
        if (!type_) return;
        if (isUdf(limit)) limit = true;
        if (contains(['all', 'list'], type_)) return keys(patterns);
        if (!has(patterns, type_)) return UDF;
        var pattern = patterns[type_];
        return limit ? new RegExp('^(' + pattern.source.replace(/^(\^|\$)$/mg, '') + ')$') : pattern;
      }