procmail
[Top] [All Lists]

Re: Deconstruction of FROM_DAEMON

1997-11-08 11:57:01
Era Eriksson wrote,

| Yes. [$[^\] would match any one of the literal characters dollar,
| opening bracket, caret, and backslash.

Nuh-uh.  Backslashes are still holy inside brackets.  That would give an
error for a range left open (but before it had been left open, it included
the right bracket character per se).

To match dollar, left bracket, caret, or backslash,

    [$[^\\]

Note that the caret would be special if it had been first after the opening
left bracket.

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