I'm trying to make my github processing better, but I'm missing something.

I have the following:
if address :all :contains "from" ["github.com"] {
   addflag "github";
   addflag "MyFlags" "github";
   set "mailbox" "GitHub";
   if address :matches :user  "to" "*" {
      set "GHUser" "${1}";
      addflag "${GHUser}";
      addflag "MyFlags" "${GHuser}";
   }
   if header :matches "List-ID" "(.*/.*) <(.*)>" {
      set "mailbox" "github-lists/${1}";
   }
   fileinto :flags "${MyFlags}" :create "${mailbox}";
   stop;
}

I'm trying to match the apache-incubator-superset part of:
List-ID: apache/incubator-superset <incubator-superset.apache.github.com>

What am I missing?
-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640 (c)     E-Mail: larry...@gmail.com
US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106

Reply via email to