Re: Regular Expression Misunderstanding1998-11-27 17:38:21Era Eriksson commented on Adam Bailey's reply to whoever had originally asked the question ... | :0: | * (^From:|^TO_)(.*\<)?someaddress\> | somefolder Rather than muck with the matching in ^TO_, I'd suggest this: * (^From:(.*\<)?|^TO_)someaddress\> | or even just | | :0: | * ^(From|To)(.*\<)?someaddress\> | somefolder The problem there is that you lose matching on Cc:, Resent-To:, and such other lines that ^TO and ^TO_ would catch.
|
|