Re: Regex problem solved1997-01-15 10:43:42Thanks to everyone who sent me suggestions. I've ended up using the following: :0 fh * ^Subject: *re:+ *\/[^: ].* | formail -I "Subject: $MATCH" One thing: if you wish handle multiple Re:'s (ie: Re: Re: blah blah), as often seen in Usenet postings, then use this regexp: :0 fh * ^Subject: *(Re: *)*\/[^: ].* | formail -I "Subject: $MATCH" ___________________________________________________________ Alan Stebbens <aks(_at_)sgi(_dot_)com> http://reality.sgi.com/aks
|
|