Code: Select all
exdt:bat
Code: Select all
ext:bat
That "exdt:bat" returns no items, but I am curious about the parser.
Supposing that there exists no search function "exdt"
What does the parser do when it finds the colon?
I expected the parser to say "Hang about! We have no such function as exdt, and it is clearly supposed to be a function because the string "exdt" is immediately followed by a colon"
In a programming language i would expect the interpreter or compiler to throw up an error message to the programmer.
Obviously Everything does not report my clumsy typing as an error, but:-
(1) Could it do so if it wanted?
(2) Is there some other behaviour that Everything can use when it meets, what to me, looks to be illegal? If so what?
In my simple example above I was, of course, VERY surprised to find that my extensive collection of batch files had disappeared! Closely followed by my seeing the typo.
But had I added "exdt:bat" and a few other terms to a more complex search string, how I would I think to look for my typo, instead of thinking "OK, zero results, so I don't have anything that matches <a long and complex search string>.
Thanks, Chris