Hi Bill, Thanks for trying.
Saturday, September 11, 2004, 1:14:03 AM, you wrote: BM> On Fri 10-Sep-04 3:04pm -0400, Stuart Moore wrote: >> Guys, thanks for suggestions. >>>> Although difficult to do exactly what you want, you can come pretty >>>> close with: >>>> \*?\bist-?d?\b >> For example, the following subject lines are not >> matched (I also changed the pattern to have a capital D in >> it just in case): BM> In v3, I believe, regex is caseless - you don't have to BM> worry about case. >> Re: *ist D for me >> Re: *ist (35mm) custom functions & 360FGZ flash >> Re: HELP - Firmware 1.11 for *ist D >> *ist D purchased on a whim >> RE: ENABLED limited ist D!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! >> RE: Batteries for the istD >> RE: IST D and Pentax-F 1.7x AF adapter >> Re: IST-D discontinued? >> Paint Shop Pro 9 built in RAW support for *ist D >> istD price change BM> Hmm, using RegEx Test, hits were found in all of those BM> lines. >> Also might I be right in thinking that in principle the >> * marks a word boundary anyway so \*? is redundant and -? >> is also redundant as I am also interested in "ist" matches >> and - marks a word boundary. BM> It is because * and - are word boundaries, I mentioned that BM> it is "difficult to do exactly what you want. BM> \*? is redundant if you're not going to use the result. BM> That is "*ist" be matched including it. "ist" will be BM> matched in "*ist" if you don't include it. BM> But the ending isn't included properly anyway. So simply BM> \bistd?\b BM> is probably good enough :-) BM> BTW, anyone trying this with a non-caseless implementation BM> should use: BM> (?s)\bistd?\b I just cannot get the expressions to work well. I have admitted failure and gone to multiple ORed literal searches. Will revisit with future versions of The Bat. Stuart ________________________________________________ Current version is 3.00.00 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html