[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [nmh-workers] FSF is changing Mailman list settings unless you opt o
From: |
Michael Richardson |
Subject: |
Re: [nmh-workers] FSF is changing Mailman list settings unless you opt out (fwd) |
Date: |
Sun, 29 Sep 2019 21:16:56 -0400 |
Ken Hornstein <address@hidden> wrote:
>> 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.
yes, I think it would work.
if there was something to treat the header as From/To:-like (while not
insisting on presence of @) and just pull out whatever was in <>, if there
was something, that might actually work better, as if there is no "<", then
it would just return the string that was there.
--
] Never tell me the odds! | ipv6 mesh networks [
] Michael Richardson, Sandelman Software Works | IoT architect [
] address@hidden http://www.sandelman.ca/ | ruby on rails [
signature.asc
Description: PGP signature
- Re: [nmh-workers] FSF is changing Mailman list settings unless you opt out (fwd), (continued)
- Re: [nmh-workers] FSF is changing Mailman list settings unless you opt out (fwd), Valdis Klētnieks, 2019/09/26
- Re: [nmh-workers] FSF is changing Mailman list settings unless you opt out (fwd), Andy Bradford, 2019/09/26
- Re: [nmh-workers] FSF is changing Mailman list settings unless you opt out (fwd), Michael Richardson, 2019/09/27
- Re: [nmh-workers] FSF is changing Mailman list settings unless you opt out (fwd), Ken Hornstein, 2019/09/27
- Re: [nmh-workers] FSF is changing Mailman list settings unless you opt out (fwd), Michael Richardson, 2019/09/27
- Re: [nmh-workers] FSF is changing Mailman list settings unless you opt out (fwd), Ken Hornstein, 2019/09/27
- Re: [nmh-workers] FSF is changing Mailman list settings unless you opt out (fwd), Michael Richardson, 2019/09/27
- Re: [nmh-workers] FSF is changing Mailman list settings unless you opt out (fwd), Michael Richardson, 2019/09/29
- Re: [nmh-workers] FSF is changing Mailman list settings unless you opt out (fwd), Ken Hornstein, 2019/09/29
- Re: [nmh-workers] FSF is changing Mailman list settings unless you opt out (fwd),
Michael Richardson <=
- Re: [nmh-workers] FSF is changing Mailman list settings unless you opt out (fwd), Philipp, 2019/09/30
- Re: [nmh-workers] FSF is changing Mailman list settings unless you opt out (fwd), Ken Hornstein, 2019/09/30
- Re: [nmh-workers] FSF is changing Mailman list settings unless you opt out (fwd), Michael Richardson, 2019/09/30
Re: [nmh-workers] FSF is changing Mailman list settings unless you opt out (fwd), Ralph Corderoy, 2019/09/27
Re: [nmh-workers] FSF is changing Mailman list settings unless you opt out (fwd), Paul Vixie, 2019/09/27