code: function asRegExps(array) {
      var array = asArray(array), len = array.length;
      for (var i = 0; i < len; i++) {
          if (!(array[i] instanceof RegExp)) {
              array[i] = new RegExp(array[i]);
          }
      }
      return array;
  }
docs: Validates each item in the array is a `RegExp` instance
  and if not it creates a new `RegExp` for the item and
  stores it in the array index.
  
  @param array
  @returns
  @api private