On Sun, Feb 22, 2004 at 12:27:10PM -0800, Gary Funck wrote:
>       $hdrs =~ s/^(${header}: .*?)\t\([^)]\)$/$1/gm;
> 
> It looks like it is processing the headers designated for
> rewrite and removing <tab>(...) at the end of the line,
> where ... means anything inside the parens?  But I think the

yep.

> pattern needs iteration also: [^)]*?  perhaps?

hrm.  yeah, I would think + would be required there (I think you're
guaranteed to have at least 1 char, although I suppose you could use
_STARS_ which could be 0...)  Ok, so "*", yeah.

Sounds like we need a regression test for rewriting a non-Subject line
(iirc, from and to are the only other ones allowed)...

-- 
Randomly Generated Tagline:
"Clean code is an art, fortunately an art Linus in paticular seems to excel
 at."                                            - Alan Cox

Attachment: pgpRgrmUhhMCv.pgp
Description: PGP signature

Reply via email to