code: function parseEvent(event) {
    var eventParts = event.match(/^((?:start|end|update)Element|text):?(.*)/);
    if (eventParts === null) {
      return null;
    }
    var eventType = eventParts[1];
    var selector = normalizeSelector(eventParts[2]);
    return {
      selector: selector,
      type: eventType,
      name: (eventParts[2]) ? eventType + ': ' + selector.normalized
                            : eventType
    };
  }
docs: Parses the selector event string and returns event information.