_match_message_via_regex()

in zuul-results-summary/zuul-results-summary.js [218:223]


  _match_message_via_regex(message) {
    // TODO: allow this to be passed in via config
    const authorRe = /^(?<author>.* CI|Zuul)/;
    const author = authorRe.exec(message.author.name);
    return !!author;
  }