I am trying to add a split to my nnmail-fancy-split that will catch
headers like this:

  X-Bugzilla-Product: gdm

And put emails matching in the group bugzilla.[productname], i.e.
"bugzilla.gdm" in this example.

When I try with this split:

  ("X-Bugzilla-Product" "\\w+" "bugzilla.\\&")

B q tells me:

  "This message would go to bugzilla.m"

If I change the regexp to "\\w\\w\\w" it goes to bugzilla.gdm - but I
don't fancy (haha) writing an entry for each possible length.

What am I doing wrong?

I even tried M-x regexp-builder to make a regexp that starts with \\<
and ends with \\> and matches "gdm", but for some reason I can't make
the result work in fancy splitting.

I'm sure there is an obvious thing, I just can't see it.


  Best regards,

    Adam

-- 
 "You make a fair point. Knowing when not to say              Adam Sjøgren
  anything is not something the lazyweb had              [email protected]
  historically been good at."


_______________________________________________
info-gnus-english mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to