code: function keysFromPath(path) {
      // from http://codereview.stackexchange.com/a/63010/8176
      /**
       * Repeatedly capture either:
       * - a bracketed expression, discarding optional matching quotes inside, or
       * - an unbracketed expression, delimited by a dot or a bracket.
       */
      var re = /\[("|')(.+)\1\]|([^.\[\]]+)/g;
  
      var elements = [];
      var result;
      while ((result = re.exec(path)) !== null) {
        elements.push(result[2] || result[3]);
      }
      return elements;
    }
docs: Will take a path like 'element[0][1].subElement["Hey!.What?"]["[hey]"]' and return ["element", "0", "1", "subElement", "Hey!.What?", "[hey]"]