docs: function normalize(pattern) {
          var type = toString.call(pattern);
          switch (type) {
              case '[object String]':
                  return _.glob(pattern);
              case '[object RegExp]':
                  return pattern;
              default:
                  xgulp.log.error('invalid regexp [%s].', pattern);
          }
      }