NoReplyAll - Attachments text detection RRS feed

  • Question

  • Just upgraded to version 3.0.1 - thanks :) Though the version string in Outllok shows

    Anyway, my real question...

    In the semi-colon separated list of words/phrases to use as attachment detection, is it possible to specify a leading space to a phrase? Reason I ask ins that I have used "here is" as one of my phrases, but this also seems to detect text such as "there is"



    Thursday, February 14, 2013 11:51 AM

All replies

  • Yes, (minor) process goof - I've been told the version numbers will be made to match soon... (There's a similar glitch in updating the download web page with the latest change note.)

    The attachment text match operates in two modes - plain text, and regular expressions - and both don't pay any attention to the characters beyond the ends of the matching substring. However, where REs perhaps win here is that you can specify more than just characters to match, so "\bhere is" means that the "here is" matches after some non-word character (actually, "\b" means the boundary between word and non-word or vice versa, but since the "h" is a word character, only one of those two choices matters). Now, I'm not sure if "\b" includes the case where the "here" is the very first word of the text, in which case you might also need to include a match with "^" to capture that separately). There's more info about regular expressions at http://msdn.microsoft.com/en-us/library/az24scfc.aspx and there are online tools which help you write them - just do a web search to find one that feels comfortable.

    Thursday, February 14, 2013 12:32 PM
  • Ah, thanks, I read it that RE's were only used for the exclusion strings - I'm already using a horrendous RE for "NonAttachmets" - The wording on the tick box isn't very clear on this, maybe drop the word "exclusion"?


    Thursday, February 14, 2013 2:18 PM
  • D'oh - sorry, you're completely right.

    The way I intended to handle cases like that - and completely forgot about in my excitement about REs (!!) was: place "here is" in the inclusion list and "there is" in the exclusion, which means: match the character sequence "here is" except if it occurs within "there is"

    I'll leave it as an exercise for the reader to deal with "where is" too :-)

    Again, apologies for giving you completely bogus information last time.

    Thursday, February 14, 2013 2:23 PM
  • (\where is) should do it - thanks.
    Thursday, February 14, 2013 4:03 PM