nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] pick --'.*'.

2017-12-01 10:56:32
On Thu, 30 Nov 2017 14:54:41 +0000, Ralph Corderoy said:

The option is the first `%s', without its `--' prefix, and the following
parameter is the second in the resulting regexp.

    "^%s[ \t]*:.*%s"

So for any of the List-* headers, regardless of whether anything is
after the colon, it's

    pick --'list-[^:][^:]*' '$'

Unfortunately, the `:' is hard-coded; that's part of the above grumbling.

Are there any list headers that won't work for?  They're all of the form 'name: 
value'.

Or were you wanting to go introspecting in the body for a value?

Attachment: pgphMnXVSKkpf.pgp
Description: PGP signature

-- 
Nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers
<Prev in Thread] Current Thread [Next in Thread>