nmh-workers
[Top] [All Lists]

Re: [nmh-workers] FSF is changing Mailman list settings unless you opt out (fwd)

2019-09-29 19:05:44
to my scan arguments, and it's close, but not yet what I want.
Ideally, I just want what's in <> of the List-Id:, and I'd be happy with the
first 16 characters only.  But I can't see a way to get that.  So I'd settle
for the last 16 bytes of the entire header, but I can't get that either.

Hmmm.  I just looked at regcomp()/regexec(), and it sure seems pretty easy
to make a format function that could do a regular expression substitution
on the str register.  Like ...

%(void{list-id})%(regsub /<\([^.]+\)/[\1]/)

Would do what you want, I'd think.  I can't promise that would appear soon
but it at least it doesn't seem hard.

--Ken

-- 
nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>