Page 1 of 1

Always not work for me

Posted: Wed Mar 01, 2017 2:12 pm
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 !!!

Re: Always not work for me

Posted: Wed Mar 01, 2017 4:08 pm
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)?

Re: Always not work for me

Posted: Wed Mar 01, 2017 4:43 pm
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!

Re: Always not work for me

Posted: Thu Mar 02, 2017 8:13 am
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

Re: Always not work for me

Posted: Fri Mar 03, 2017 6:58 am
by void
Thanks for the screenshots.

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

Re: Always not work for me

Posted: Fri Mar 03, 2017 7:16 am
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.

Re: Always not work for me

Posted: Fri Mar 03, 2017 7:23 am
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

Re: Always not work for me

Posted: Fri Mar 03, 2017 8:00 am
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

Re: Always not work for me

Posted: Fri Mar 03, 2017 9:20 am
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.

Re: Always not work for me

Posted: Fri Mar 03, 2017 12:59 pm
by Debugger
All Not work !!! 0 objects

Re: Always not work for me

Posted: Sat Mar 04, 2017 10:43 am
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?