Always not work for me

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

Always not work for me

Postby Debugger » Wed Mar 01, 2017 2:12 pm

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: 1677
Joined: Thu Sep 03, 2009 6:48 pm

Re: Always not work for me

Postby therube » Wed Mar 01, 2017 4:08 pm

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: 78
Joined: Thu Jan 26, 2017 11:56 am

Re: Always not work for me

Postby Debugger » Wed Mar 01, 2017 4:43 pm

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
Site Admin
Posts: 3488
Joined: Fri Oct 16, 2009 11:31 pm

Re: Always not work for me

Postby void » Thu Mar 02, 2017 8:13 am

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
Site Admin
Posts: 3488
Joined: Fri Oct 16, 2009 11:31 pm

Re: Always not work for me

Postby void » Fri Mar 03, 2017 6:58 am

Thanks for the screenshots.

Can you give an example of a filename that the above search should match?

Debugger
Posts: 78
Joined: Thu Jan 26, 2017 11:56 am

Re: Always not work for me

Postby Debugger » Fri Mar 03, 2017 7:16 am

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
Site Admin
Posts: 3488
Joined: Fri Oct 16, 2009 11:31 pm

Re: Always not work for me

Postby void » Fri Mar 03, 2017 7:23 am

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: 78
Joined: Thu Jan 26, 2017 11:56 am

Re: Always not work for me

Postby Debugger » Fri Mar 03, 2017 8:00 am

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
Site Admin
Posts: 3488
Joined: Fri Oct 16, 2009 11:31 pm

Re: Always not work for me

Postby void » Fri Mar 03, 2017 9:20 am

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: 78
Joined: Thu Jan 26, 2017 11:56 am

Re: Always not work for me

Postby Debugger » Fri Mar 03, 2017 12:59 pm

All Not work !!! 0 objects

void
Site Admin
Posts: 3488
Joined: Fri Oct 16, 2009 11:31 pm

Re: Always not work for me

Postby void » Sat Mar 04, 2017 10:43 am

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?


Return to “General”