trying to find (with regex) six capital letters in a row

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
dwilbank
Posts: 29
Joined: Sat Jun 28, 2014 2:37 pm

trying to find (with regex) six capital letters in a row

Post by dwilbank »

this

Code: Select all

regex:[A-Z]{6}
pulls up every file with six capital or lowercase letters in a row - mixed

Do the square bracket classes work in Everything?
void
Developer
Posts: 16753
Joined: Fri Oct 16, 2009 11:31 pm

Re: trying to find (with regex) six capital letters in a row

Post by void »

The regex: modifier uses the current "Match Case" setting from the Search menu.

Please try searching for:
case:regex:[A-Z]{6}

the case: modifier will enable case matching, or alternatively, enable Match Case from the Search menu.
dwilbank
Posts: 29
Joined: Sat Jun 28, 2014 2:37 pm

Re: trying to find (with regex) six capital letters in a row

Post by dwilbank »

boom! I got results!

thanks sir
therube
Posts: 4977
Joined: Thu Sep 03, 2009 6:48 pm

Re: trying to find (with regex) six capital letters in a row

Post by therube »

And case: has to be "directly connected" to regex: (no intervening space).
"case:regex:" vs "case: regex:"

Why is that?
void
Developer
Posts: 16753
Joined: Fri Oct 16, 2009 11:31 pm

Re: trying to find (with regex) six capital letters in a row

Post by void »

modifiers must prefix a search term.

Everything treats spaces as the AND operator.

eg:
case: regex:

expands to:
case: AND regex:

case: on its own is the same as case:"" or an empty search term, which will match everything.
Post Reply