Match Whole Words - first letter uppercase

Found a bug in "Everything"? report it here
Post Reply
Stamimail
Posts: 1122
Joined: Sat Aug 31, 2013 9:05 pm

Match Whole Words - first letter uppercase

Post by Stamimail »

Searching:
Abc

Abc_Def_Ghi
AbcDefGhi <-- Shouldn't this be one of the results?
void
Developer
Posts: 16745
Joined: Fri Oct 16, 2009 11:31 pm

Re: Match Whole Words - first letter uppercase

Post by void »

No, Everything only treats punctuation and spaces as word breaks.

You would need a specific regex search to match word boundaries and case changes:

case:regex:(\b|[a-z])Abc(\b|[A-Z])



I can understand the usefulness of being able to search words for filenames using the camelcase style: AbcDefGhi
I'll look into an option to do this.


Breaking the camelcase filename into words and then searching for these words for a matching whole word could be done with something like:

global:case:regex:([A-Z][a-z0-9]*) ww:regmatches:abc
Post Reply