code: function needsDeps(name) {
    return name.charAt(0) === "$" &&
      !(/\$[0-9]+/.test(name)) &&
      name !== "$global" &&
      name !== "$match" &&
      name !== "$tmp" &&
      name !== "$error";
  }
docs: This is needed because I'm using $match and $error as temporary variables inside compiled output, but also using $foo as the pattern for the helper named $foo. I'm thinking I should change these variable names in the future so they don't look like they conflict.