Regression (?) -> Search : excluding subfolder path regex

Bugs and other issues or requests which have been resolved.
Post Reply
Message
Author
kino
Posts: 56
Joined: 01.04.2013, 21:24

Regression (?) -> Search : excluding subfolder path regex

#1 Post by kino » 04.01.2016, 13:57

Hello,

About a year ago, I had been impressed by the quick implementation of search filtering on full subfolder path :
viewtopic.php?f=9&t=6232

I recently installed FreeCommander XE 2015 Build 705 64-bit donor on Windows 7 64-bit

The checkbox "Use for full subfolder path (otherwise only for subfolder name)" is no more.
(although online doc doesn't yet say much about this/and/subfolders radio button)

Whatever the option, I can't seem to regex filter exclude on the full path.

Here is a trivial example :

Image

I would expect "No.txt" file in "No" folder to not appear in my result set.

How can I perform such an exclusion on the full path ?
(I want to exclude any file stored in any "No" sub-folder within a "Sub" folder)

Thanks
You do not have the required permissions to view the files attached to this post.

Karol
Posts: 627
Joined: 19.08.2007, 10:05

Re: Regression (?) -> Search : excluding subfolder path rege

#2 Post by Karol » 04.01.2016, 17:31

In your case you do not need regex at all. Simply define No as subfolder filter.

kino
Posts: 56
Joined: 01.04.2013, 21:24

Re: Regression (?) -> Search : excluding subfolder path rege

#3 Post by kino » 04.01.2016, 20:04

Hi Karol,
Thanks for your reply.
My example is just a simplified example to show the case.
I do need complex regex in case I want to exclude specific folders, date-formatted, only if they are subfolders of other stereotyped folders, etc.
So my post stands : how would you filter exclude with regex on full path ? (that is : typically containing backslash separators between hierarchical levels of subfoldering)

afh
Posts: 94
Joined: 30.06.2014, 18:50
Location: Romania

Re: Regression (?) -> Search : excluding subfolder path rege

#4 Post by afh » 05.01.2016, 14:08

The checkbox "Use for full subfolder path (otherwise only for subfolder name)" is no more.
Indeed, the option to search in full path should be put back. It might be useful.

Marek
Author
Author
Posts: 2334
Joined: 10.04.2006, 07:48
Location: Germany
Contact:

Re: Regression (?) -> Search : excluding subfolder path rege

#5 Post by Marek » 06.01.2016, 13:56

Next release: "Use for full subfolder path (otherwise only for subfolder name)" added for advanced mode.

kino
Posts: 56
Joined: 01.04.2013, 21:24

Re: Regression (?) -> Search : excluding subfolder path rege

#6 Post by kino » 26.01.2016, 08:54

Indeed.
Grand !
Thanks

dimbo
Posts: 6
Joined: 03.03.2016, 14:49

Re: Regression (?) -> Search : excluding subfolder path rege

#7 Post by dimbo » 03.03.2016, 15:27

Hi Marek,

Thank you very much for your very great work since 2009.
I discovered Freecommander XE 685 two months ago and was very impressed by all the new functionnalities.

However, I've just installed Freecommander XE 716 32-bits public beta and found something which sounds, for me, like a regression.


PROBLEM DESCRIPTION

In 685, it was possible to perform search filters like that :
Subfolder filters = *\src\main\resources\sgo*;*\target\*
Excluded filter = checked
Use for full subfolder path (otherwise...) = checked

This allows to get files in :
D:\...\src\main\java\...\sgo\...\sgo\...\myFileIWant.java
and exclude files in
D:\...\src\main\resources\sgo\...\myFileIdontWant.txt

This was great !

But in 715
The "Use for full subfolder path (otherwise...)" has been removed and replaced by "this, this and subfolder, subfolders"

I'm not sure having well understood what it means. I think :
this = the name of the right most folder in a file path (folder just before the filename)
subfolders = all the names of each folders in the file path (in fact these are parent folders of the file)

However, it is not more possible to use a filter like : *\src\main\resources\sgo*;*\target\*;*\bin\*
And if I use :
Subfolder filters = sgo;target
Use for = this and subfolders
Excluded filter = checked

then I get :
D:\...\src\main\resources\sgo\...\myFileIdontWant.txt, is excluded, that's OK
but
D:\...\src\main\java\...\sgo\...\sgo\...\myFileIWant.java is also excluded !!!


After having read this post, I downloaded the 716 beta and activated Advanced option for regular expressions.
I checked RegExp and "Use for full subfolder path", but to get the expected result, I must type the following Subfolder filters :

Subfolder filters = .*\\src\\main\\resources\\sgo[\\]?.*|.*\\target[\\]?.*

I find this very more complicated than what was possible with the 685 :

Subfolder filters = *\src\main\resources\sgo*;*\target\*


REQUEST

Would it be possible, in the next beta, to allow the "Use for full subfolder path (otherwise...)" for both 1) normal and 2) regular expression mode ?

Thank you very much

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests