Page 1 of 1

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

Posted: Thu Aug 22, 2019 1:01 am
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?

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

Posted: Thu Aug 22, 2019 1:29 am
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.

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

Posted: Thu Aug 22, 2019 2:26 am
by dwilbank
boom! I got results!

thanks sir

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

Posted: Thu Aug 22, 2019 10:21 am
by therube
And case: has to be "directly connected" to regex: (no intervening space).
"case:regex:" vs "case: regex:"

Why is that?

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

Posted: Thu Aug 22, 2019 10:32 am
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.