code: function _findInArray(array, regex) {
    let result = -1;
    array.forEach((value, index) => {
      if (regex.test(value)) result = index;
    });
    return result;
  }
docs: Private: use a regex to see if something is contained in array values.
  
  * `array` {Array} that might contain a match
  * `regex` {RegExp} used to test values of `array`
  
  Returns {Int} index of array that matched.