Hello Bill,

>>> If you look for A&B you are actually looking for AB.
>
>> At least I think so <g>
>
> I couldn't get it to work as a concatenation operator.  I sent an
> email to myself and filtered for a sender of "bill mc&carthy" (without
> the quotes) - it did not work.  Can you provide an example that
> demonstrates your theory?

No, my theory was wrong. I believed whoever said that & could be used as
an AND operator. No, the "&" character (without the quotes) is just
another character in the string, so that if you look for "A&B" (without
the quotes) you are actually looking for the three characters A, & and
B, one next to the other. I have just tested and proved this.

Actually, the HELP file doesn't say anything about & because it does
nothing special:

,----- [ Using special syntax in signal strings ]
| The following special syntax is available for use in signal strings:
| 
| Pipe character "|" can be used when the signal string contains two
| alternatives. For example, string John|Jack means that the filter will
| search for John OR Jack in the specified location. If either is present,
| the search is successful. If neither are present, the search fails.
| 
| Square brackets [ ] mean that text enclosed by them will be searched for
| as a phrase. i.e. search for [Jack] will be successful for the sentence
| "Jack is a good man", but not for "Jackson guitars are very good for
| beginners".
| 
| Text enclosed in quotation marks is case-sensitive, i.e. the signal
| string "Internet" will be found in the sentence "The Internet is growing
| very rapidly" but not in "InTeRnEt RuLeZ"
| 
| Any text containing the special characters mentioned above, must be
| enclosed in single quotes, like this: '["New" generation mailing list]'
| 
| See also: Regular Expression Syntax (Basic)
`-----

What I have not tested is if the | character can be used for more than 2
alternatives. I always use the Alternatives tab.

-- 
Best regards,

Miguel A. Urech (El Escorial - Spain)
Using The Bat! v1.62i


________________________________________________
Current version is 1.62r | "Using TBUDL" information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to