Forum

 
Current User: Guest Login Register
Please consider registering


Register? | Lost Your Password?

Thanks, and 2 questions

Add a New Topic Reply to Post
UserPost

12:23 am
May 22, 2010


mugsy

New Member

posts 1

Hi,

Thanks for making this really useful add-on. I have a couple of questions…

 

Is it possible to combine header regex's in one expression? Such as:

 

(subject:Query|Enquiry)|(sender:smith|jones)

 

I have tried various combinations but can't get it to work. Just wondered if I was wasting my time.

 

Also, I have been trying to find in TB source, internet etc the possible values for StatusOfset in Header Regex – which I assume holds values for read, unread, forwarded etc, but can't find any references to what these values are when using this regex. Can you please advise what these values are – or where they are documented.

 

Thanks!

7:55 am
June 1, 2010


rkent

Admin

posts 140

"Is it possible to combine header regex's in one expression"

If by that you mean the text that you enter into the filter action, that text is just sent directly to javascript. If it is valid in javascript, it should work. If not, then not. You should always be able to add multiple independent search terms with an OR though.

"I have been trying to find in TB source, internet etc the possible values for StatusOfset in Header Regex – which I assume holds values for read, unread, forwarded etc, but can't find any references to what these values are when using this regex"

StatusOfset is "offset in a local mail message of the mozilla status hdr" The misspelled "StatusOfset" is the property name in the mork database. I consider this quite obscure and internal to mailnews code, so I don't know what you are trying to use this. You cannot get status fields from a regex of this. I also don't know why you would want to use a regex to access status fields, since there are more direct ways of using those in search terms.

Reply to Post

Reply to Topic:
Thanks, and 2 questions

Guest Name (Required):

Guest Email (Required):

NOTE: New Posts are subject to administrator approval before being displayed

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
11 + 9