Always not work for me

General discussion related to "Everything".
Post Reply
Debugger
Posts: 630
Joined: Thu Jan 26, 2017 11:56 am

Always not work for me

Post by Debugger »

Regex enabled:
Path
E:\ZK ALL!!
Find & Delete
(?-i)^y_[a-z0-9]{8}\.jpg

It ALWAYS works in other tools, but never in Everything.
Please add a separate dialog !!!
therube
Posts: 4979
Joined: Thu Sep 03, 2009 6:48 pm

Re: Always not work for me

Post by therube »

So what is happening here?

When PATH is enabled, the regex searches the for "string" in, path+filename, in that order, is that it?

That's kind of weird.

And it does NOT find anything if the search string is solely in the file name?
No, that's not right?
So why does regex:(?-i)^y_[a-z0-9] not find anything if PATH is enabled (where is does if PATH is not enabled)?

---

So...

PATH
regex:safe.*header

finds...

C:\Mozilla\USERS\21.dumy-sjb.safe\lightweighttheme-header

finding, "safe", in the path, C:\Mozilla\USERS\21.dumy-sjb.safe
and continuing through to, lightweighttheme-header, in the name.

---

Not sure just what is going on here, not making sense to me?

---

What does regex:(?-i) do ?

Case sensitivity.


OK, so still not understanding why regex:(?-i)^y_[a-z0-9] not find anything if PATH is enabled (where is does if PATH is not enabled)?
Debugger
Posts: 630
Joined: Thu Jan 26, 2017 11:56 am

Re: Always not work for me

Post by Debugger »

Complicated.
I have no idea what you mean!

In Dir:E:\ZK ALL!!
How to delete: FileName^y_[a-z0-9]{8}\.jpg
Enable Subfolders

I prefer the easy-tool for Low-Users (not complicated)
Enter an extremely simple phrases, words, path, regex, folder etc. Nothing complicated.
In Everything everything is incomprehensible to me.
Find files in the folder and delete it. Simple? Simple, but as in Everything? Not possible!
void
Developer
Posts: 16753
Joined: Fri Oct 16, 2009 11:31 pm

Re: Always not work for me

Post by void »

What have you tried searching for?

With regex disabled, and match path disabled from the Search menu, please try searching for:
e:\zk\ regex:^y_[a-z0-9]{8}\.jpg

Note: If you have match path enabled in the Search menu, ^y_[a-z0-9]{8}\.jpg must match the full path and file name.
In which case you would want something like:
regex:^.*\\y_[a-z0-9]{8}\.jpg
void
Developer
Posts: 16753
Joined: Fri Oct 16, 2009 11:31 pm

Re: Always not work for me

Post by void »

Thanks for the screenshots.

Can you give an example of a filename that the above search should match?
Debugger
Posts: 630
Joined: Thu Jan 26, 2017 11:56 am

Re: Always not work for me

Post by Debugger »

It works now. At the end of the path need to add

Code: Select all

\
However, I have to rebuild again list because:
Monitor changes disabled
The update takes a long time for small files and several physical hard drives.
void
Developer
Posts: 16753
Joined: Fri Oct 16, 2009 11:31 pm

Re: Always not work for me

Post by void »

The update takes a long time for small files and several physical hard drives.
It would be faster to force a rebuild from Tools -> Options -> Indexes -> Force Rebuild instead of using /monitors_resume
Debugger
Posts: 630
Joined: Thu Jan 26, 2017 11:56 am

Re: Always not work for me

Post by Debugger »

How to search for such folders (many different paths)
E:\ZK 1
E:\ZK Cats
H:\ZK Cats 2
Z:\ZK XXX XXX

Regex???

Code: Select all

ZK\s
XXX XXX -> Any name
ZK -> the name of the starting
void
Developer
Posts: 16753
Joined: Fri Oct 16, 2009 11:31 pm

Re: Always not work for me

Post by void »

Please try the following searches:

To limit the search to folders only, search for:
folder:

To limit the search to filenames starting with ZK, search for:
\ZK

To limit the search to filenames starting with ZK in the root of a drive, search for:
:\ZK

To include the space after ZK, use double quotes:
":\ZK "

Combining these searches, please try searching for:
folder: ":\ZK "

To use regex, please try searching for:
folder: regex::\\ZK\s
: = match a :
\\ = match a single \
ZK = match ZK
\s = match any white space.
Debugger
Posts: 630
Joined: Thu Jan 26, 2017 11:56 am

Re: Always not work for me

Post by Debugger »

All Not work !!! 0 objects
void
Developer
Posts: 16753
Joined: Fri Oct 16, 2009 11:31 pm

Re: Always not work for me

Post by void »

What have you tried searching for?
What search options do you have enabled from the Search menu?
What search options do you have enabled from Tools -> Options -> Search?
Post Reply