Problem about regex
Problem about regex
When regex is disabled I type fire -
The result as you can see even folder name 2016 Ken Navarro - Bonfire 2016 is listed.
https://ibb.co/cLPFjwG
When regex is enabled I type fire -
https://ibb.co/02rXJCF
Which shows the actual folder/file names contains fire -
But when regex is enabled I type *.mp3 and it shows nothing.
I was using tool called Locate32 that similar to Everything and as you can see below there wasn't such issue. How can I use Everything in the same way like Locate32 do?
https://ibb.co/MGF5vYh
https://ibb.co/CJDYmXF
The result as you can see even folder name 2016 Ken Navarro - Bonfire 2016 is listed.
https://ibb.co/cLPFjwG
When regex is enabled I type fire -
https://ibb.co/02rXJCF
Which shows the actual folder/file names contains fire -
But when regex is enabled I type *.mp3 and it shows nothing.
I was using tool called Locate32 that similar to Everything and as you can see below there wasn't such issue. How can I use Everything in the same way like Locate32 do?
https://ibb.co/MGF5vYh
https://ibb.co/CJDYmXF
Last edited by therube on Tue Dec 24, 2019 12:29 pm, edited 1 time in total.
Reason: image embed codes were wrong, so i removed them, making them click links
Reason: image embed codes were wrong, so i removed them, making them click links
Re: Problem about regex
But when regex disabled if I type for example fire - then every folder/file names contains fire and - symbol listed. And It makes result list very long.
Like:
1983 China Crisis - Working With Fire And Steel
What it should show only such files:
Jungle Fire - Jambu
Omar Faruk Tekbilek 1994 - Gypsy Fire - 320
So I can see exactly what I'm typing.
With tool Locate32 I could use .mp3 and fire - examples together without switch off/on regex.
Re: Problem about regex
Please try enabling match whole words from the Search menu.
You can search for fire AND *.mp3 with the following search:
fire *.mp3
You can search for fire AND *.mp3 with the following search:
fire *.mp3
Re: Problem about regex
I see my screenshots can't be shown. Instead of my screenshots only text IMAGE. I don't want combine 2 searches in 1.
I'll try to explain again:
When regex is disabled I type fire -
Picture:
https://ibb.co/cLPFjwG
The result as you can see even folder name 2016 Ken Navarro - Bonfire 2016 is listed. A long long list with cluttered results. Actually we have already AND OR commands for this.
When regex is enabled I type fire - and see the results of exactly what I typed (and wanted)
Picture:
https://ibb.co/02rXJCF
But this time .mp3 doesn't work though .mp3 is a regex.
With Locate32 I don't have to switch on/off regex but get the results as shown on the pictures below:
https://ibb.co/MGF5vYh
https://ibb.co/CJDYmXF
Can Everything work in the same way so no bloated results because of - symbol and also we can search using asterisk.
Re: Problem about regex
Why *.mp3? Just .mp3 seems to have the same matches and it is much faster.
Re: Problem about regex
Please use double quotes to escape spaces:
"fire - "
This should give you the same results you see in Locate32.
Combine with *.mp3:
"fire - " *.mp3
"fire - "
This should give you the same results you see in Locate32.
Combine with *.mp3:
"fire - " *.mp3
Re: Problem about regex
But each time putting " " around search term is tiring and also forgettable. Could you add an option like Locate32 do. It combines see the results exactly what we type plus use asterisk for searching quickly extensions and searching file/folder names without switching regexp option.
Re: Problem about regex
To make Everything always search for literal text:
You may wish to search for:
fire - *.mp3
This will only match files starting with fire.
I recommend disabling match whole filename when using wildcards:
- In Everything, from the Search menu, click Organize search filters....
- Select the Everything filter and click Edit....
- Change the Search to:
"search:"
(include the double quotes) - Change the Macro to:
everything<search> - Click OK.
- Click OK.
You may wish to search for:
fire - *.mp3
This will only match files starting with fire.
I recommend disabling match whole filename when using wildcards:
- In Everything, from the Tools menu, click Options.
- Click Search on the left.
- Uncheck Match whole filename when using wildcards.
- Click OK.
Re: Problem about regex
Thank you very much. I didn't have any hope but seems Everything much flexible and sophisticated than I thought.void wrote: ↑Mon Dec 23, 2019 9:18 pm To make Everything always search for literal text:When the Everything filter is active, your searches will be treated as literal searches.
- In Everything, from the Search menu, click Organize search filters....
- Select the Everything filter and click Edit....
- Change the Search to:
"search:"
(include the double quotes)- Change the Macro to:
everything<search>- Click OK.
- Click OK.
You may wish to search for:
fire - *.mp3
This will only match files starting with fire.
I recommend disabling match whole filename when using wildcards:Now, fire - *.mp3 will match anywhere in the filename.
- In Everything, from the Tools menu, click Options.
- Click Search on the left.
- Uncheck Match whole filename when using wildcards.
- Click OK.
Re: Problem about regex
Hi,I tried to apply same search method to Folder and File filters but neither worked.
Code: Select all
"folder:"
<search>
Code: Select all
"folder:"
<folder>
Code: Select all
"file:"
<file>
Code: Select all
"file:"
<search>
Re: Problem about regex
For folders only, please try the following search:
with the following macro:
For files only, please try the following search:
with the following macro:
folder:"search:"
with the following macro:
foldersearch<search>
For files only, please try the following search:
file:"search:"
with the following macro:
foldersearch<search>