Re: Regular Expressions in Message Finder

2017-11-13 Thread Tony Hoare
Hello MFPA,

Saturday, November 11, 2017, 1:37:27 PM, you wrote:

> TB!'s help entry for "Regular Expressions" says:-

>   The Bat! allows the use of regular expressions in these places: 

>   Message Editor
>   Message Finder
>   Sorting Office / Filters
>   Templates (using macros)

> And following Message Finder link, the next help page says:-

>   To make the Message Finder use regular expressions as the search
>   pattern, enter the regular expression you want to use, and use the
>   "Match" option in the drop-down conditions list. 
>   
>   The default PCRE options for the message finder are
>   PCRE_CASELESS+PCRE_MULTILINE or PCRE_MULTILINE for a "Case
>   sensitive search". Matching is done by treating the whole
>   message as a single string. CF/LF pairs (0D/0A) are replaced by
>   single LF (0A) characters before matching.


> I have not tried.

Thank you. It works using PCRE syntax leaving off the pattern
delimiters.

-- 
Best regards,
 Tonymailto:t...@parkinch.co.uk

The Bat! 8.0.6 with IMAP on Windows 10.0. Build: 15063



Current version is 7.1 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: Regular Expressions in Message Finder

2017-11-11 Thread MFPA
Hi


On Wednesday 8 November 2017 at 7:17:41 PM, in
, Tony Hoare wrote:-


> Hi All,

> Does anyone know if the search boxes support regex
> terms and, if so, how-to and what syntax?  


TB!'s help entry for "Regular Expressions" says:-

  The Bat! allows the use of regular expressions in these places: 

  Message Editor
  Message Finder
  Sorting Office / Filters
  Templates (using macros)

And following Message Finder link, the next help page says:-

  To make the Message Finder use regular expressions as the search
  pattern, enter the regular expression you want to use, and use the
  "Match" option in the drop-down conditions list. 
  
  The default PCRE options for the message finder are
  PCRE_CASELESS+PCRE_MULTILINE or PCRE_MULTILINE for a "Case
  sensitive search". Matching is done by treating the whole
  message as a single string. CF/LF pairs (0D/0A) are replaced by
  single LF (0A) characters before matching.


I have not tried.



-- 
Best regards

MFPA  

The problem is not that we're paranoid;
it's that we're not paranoid enough.

Using The Bat! v7.4.16.14 (BETA) on Windows 10.0 Build 15063  



Current version is 7.1 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Regular Expressions in Message Finder

2017-11-08 Thread Tony Hoare
Hi All,

Does anyone know if the search boxes support regex terms and, if so, how-to and 
what syntax?

-- 
Best regards,
 Tony  mailto:t...@parkinch.co.uk

Current version is 7.1 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html