Please consider registering

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Match from the start of the field
September 17, 2016
12:16 am
New Member
Forum Posts: 1
Member Since:
September 17, 2016
sp_UserOfflineSmall Offline

I have a filter set up with Subject Regex Match in Thunderbird, matches ^New Order \d\d\d\d

I wanted this to divert e-mails starting New order 1234 into a different folder. Usually this works, but I discover that it also divers subjects like "Re: New Order 1234" there as well - which I was trying to stop with the initial ^.

Is there a way of achieving my original desired effect?


September 20, 2016
2:32 pm
Forum Posts: 423
Member Since:
July 12, 2008
sp_UserOfflineSmall Offline

If you look at some of the documentation for Thunderbird, we have this info:

* The subject of this message has "Re:" on the front. The folder summary
* uniquifies all of the strings in it, and to help this, any string which
* begins with "Re:" has that stripped first. This bit is then set,
so that
* when presenting the message, we know to put it back (since the "Re:" is
* not itself stored in the file.)
const nsMsgMessageFlagType HasRe = 0x00000010;

That is documentation on a flag. So the subject does not include the
"re" which is why you are failing, but the information you want is in a

If you want to filter on messages that are replies, you would need a
javascript search term like this:

message.flags & (Components.interfaces.nsMsgMessageFlags.HasRe)

If you DONT want the re: messages, make this a "doesn't match" filter.

R. Kent James
MesQuilla, LLC
Redmond, Washington, USA

Forum Timezone: UTC -8

Most Users Ever Online: 41

Currently Online:
5 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

BigMike: 14

David.P: 10

Jeff Wexler: 9

taa: 8

JPRuehmann: 8

bobkatz: 8

Member Stats:

Guest Posters: 217

Members: 4714

Moderators: 2

Admins: 1

Forum Stats:

Groups: 1

Forums: 7

Topics: 383

Posts: 1228

Newest Members:

JaimeToisM, Maririz, FitoSprayiBeery, MichaelHoarm, JordonReasonovertrog, Rysrejsnade

Administrators: rkent: 423