Expression-Search-NG icon indicating copy to clipboard operation
Expression-Search-NG copied to clipboard

bodyre: have extra version to search only in text/plain/html body parts

Open fpierrat opened this issue 7 months ago • 2 comments

Hi Thanks for this extension. Searching for bodyre:/rrr/ finds e-mails NOT containing "rrr". After opening the source of the message, it seems all matching e-mails actually DO have the string "rrr", but in some base64 encoded resources, not in the actual body.

If this is a bug, I'm happy to share it here. If this is the expected behaviour, maybe there could be a short notice about it in point #22 of the doc:

bodyre:/hello.*world/i or br:test

This expression searches the body of all messages in the current folder or view with Regular Expressions. Case sensitive and should be the last pattern. Only search offline messages. Notice: regex also matches embedded resources such as for example base64 encoded image

In the hope this remark might help.

fpierrat avatar Jul 05 '24 09:07 fpierrat