Searching with the alternation and both Subject & Poster
Posted: Sun Sep 20, 2015 6:58 am
Hello,
I have a two part question regarding RegEx in Newsbin. I am trying to devise a search pattern that searches for multiple items so I am using the alternation metacharacter. So long as I am using a single element (e.g., "(America|Europe)") for each alternation the search works okay. When I use a two word alternation the search fails (e.g., "(America|Indo China)") or "(America|Indo.China)"). If I perform a search for the element two element by itself (e.g., "(Indo China)") then the search works fine. If I perform the same searching using an online RegEx tester (e.g., http://www.regexr.com/) then my RegEx works fine. How do I get my RegEx to work correctly within Newsbin's subscription search?
The second question I have it, how can I search against both the subject line and the poster? More often, I want to search for a poster, but exclude posts that might have certain content in the subject line.
Any help is greatly appreciated.
Regards,
Mark
I have a two part question regarding RegEx in Newsbin. I am trying to devise a search pattern that searches for multiple items so I am using the alternation metacharacter. So long as I am using a single element (e.g., "(America|Europe)") for each alternation the search works okay. When I use a two word alternation the search fails (e.g., "(America|Indo China)") or "(America|Indo.China)"). If I perform a search for the element two element by itself (e.g., "(Indo China)") then the search works fine. If I perform the same searching using an online RegEx tester (e.g., http://www.regexr.com/) then my RegEx works fine. How do I get my RegEx to work correctly within Newsbin's subscription search?
The second question I have it, how can I search against both the subject line and the poster? More often, I want to search for a poster, but exclude posts that might have certain content in the subject line.
Any help is greatly appreciated.
Regards,
Mark