Why are function- and macro names case-sensitive?

General discussion related to "Everything".
Post Reply
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Why are function- and macro names case-sensitive?

Post by NotNull »

Just curious: Why are function- and macro names case-sensitive?

(
ext:txt
vs.
EXT:txt
)
void
Developer
Posts: 16735
Joined: Fri Oct 16, 2009 11:31 pm

Re: Why are function- and macro names case-sensitive?

Post by void »

No real reason.

In the next version of Everything, functions and macros will be case insensitive.
Everything will lookup the function/macro with the correct case, if it doesn't find one, it will do the lookup again with a case-insensitive search.
This will allow you to have macro: and MACRO: do two completely different things (if you have defined both macro and MACRO)
Post Reply