> -----Original Message-----
> From: Ray Denenberg [mailto:[log in to unmask]]
> Sent: Wednesday, October 09, 2002 2:52 PM
>
> 1. How does this work with "any"?
> e.g. title any "cat ^dog rat" means: find title with
> cat (anywhere), or
> with rat (anywhere), or with dog (but only at the beginning).
> Would find:
> "cat eats dog", "cat eats hat", "hat eats cat", "dog eats
> hat", but not "hat
> eats dog".
Yes.
> 2. space after ^ means it applies to all the words? e.g.
> title any "^ cat dog rat" means find one of these words at
> the beginning. Would
> find "cat eats hat", "dog eats hat", "rat eats hat" but not
> "hat eats dog", etc.
>
> and likewise at the end: title any "cat dog rat ^"
> finds "hat eats cat", hat eats dog" but not "dog eats hat"
No. Caret only applies to a particular word. A caret hanging in space
would either be an empty term or an error.
> 3. Assuming so, is this legal:
> title any "^ cat ^dog rat" if so what does it mean.
Right, it's meaningless. No carets in space!
> 4. For 'all', is it legal to anchor two words. I assume not.
> thus title all "^cat ^dog" is not legal.
Not illegal, just not getting anything. "dog" not "dog" doesn't get
anything, but we don't declare it to be illegal.
> But how about title all "^cat dog^" would that find "cat eats dog"
Exactly!
> 5. For adjacent. I assume only a carat at the beginning
> and/or end, separated
> by space.
> e.g. title = "^ cat eats hat ^"
No carets in space! :-) title="^cat eats hat^" will not retrieve "my cat
eats hat".
> Assuming we can answer all these questions (and I think there
> are more) it's
> going to be hard to write these rules.
Hopefully we've made it a little easier.
Thanks, Ray!
Ralph
|