Hello,
indeed it can offer more strict matching and removing. Since the code is ready I will commit it soon, thanks for the patch.
Cheers, Daniel
On 10/1/12 11:49 AM, Mikko Lehto wrote:
2012-10-01 (Mon) 08:52 UTC +0300 Juha Heinanen jh@tutpro.com:
i think you could achieve the same by using replace_body_all(re, txt) from textops module.
Yes, this works if body contains only SDP: replace_body_all("^a=X-.*\n","");
But I was thinking that it is not a good idea as it modifies blindly whole body part, ignoring boundaries of individual MIME parts.