Pages: 1
RSS
A Major Filtering Problem -- Solutions?, How can this filtering problem be solved?
 
I want to respond to people based on what THEY say.

But, when they are replying to me, its still filtering MY OWN responses (as part of the whole) to that person.


Example: Lets say they mention the word "discount" and I say "yes a discount is available"


They email me:

"Is that discount available"

filter goes off

"yes a discount is available"


they reply:

thank you


Now my filter using "text > match > discount"

is still going off, because of MY reply mentioning the word discount...it may even be including their very first message since thats part of the reply sequence..I'm not sure


anyway to avoid this so I only respond filter what THEY are saying

anybody understand?
 
I understand what you want, but you can't achieve that with filters. I can think of no way to create a regular expression that differentiates between quoted an original text.
__________________________________
I'm just a user of The Bat! I don't work for Ritlabs.
 
try with a regex like

Code
(?<!\bfrom:[\s\S]*?)\bdiscount


Basically it should match "discount" if there is no "from:" before it.
If there is from: before it, then discount is probably a part of a quoted message
Pages: 1