inspect string for lookups that satisfy the above regexp
function (lookup) {
  var matches = tmplRegExp.exec(lookup);
  if (matches) {
    return {
      src: matches && matches[0],
      prop: matches && matches[1] || matches[2],
    };
  } else {
    return false;
  }
}