create a file "New Text. File.txt"
search for it either with FF or QS -> no results
I assume it's because of the space after the (first) dot.
Find Files and QS broken
Forum rules
You might want to read this if you're looking for priority service
Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.
How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
You might want to read this if you're looking for priority service
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
-
autocart
- Posts: 1422
- Joined: 26 Sep 2013 15:22
Find Files and QS broken
[AHK] redirecting Windows Explorer to XY, [XYS] Mini Tree with open tabs (cur loc expanded, tab folders highlighted), [AHK] customInlineRenameKeys, [AHK] clipboardHelper_and_XYEscToList
-
admin
- Site Admin
- Posts: 67288
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Find Files and QS broken
What search pattern did you use? Note that any spaces in a search pattern are treated as "Loose Boolean AND". To avoid that you have to quote the pattern:
Code: Select all
?"New Text. File.txt"FAQ | XY News RSS | XY X
-
highend
- Posts: 15016
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Find Files and QS broken
Even while treating a non quoted space as a boolean AND, it should not fail when using the pattern
in the gui search, or?
Code: Select all
new text.One of my scripts helped you out? Please donate via Paypal
-
admin
- Site Admin
- Posts: 67288
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Find Files and QS broken
I just was about to add this:
An additional aspect of this particular case is the rule that patterns ending with a dot only match filenames without extension.
Hence a file "New Text. File.txt" is not found by this search.
An additional aspect of this particular case is the rule that patterns ending with a dot only match filenames without extension.
Code: Select all
Query: New Text. File.txt
Parsed: name:"*new*" AND name:"*text*" [no extension] AND name:"*file.txt*"FAQ | XY News RSS | XY X
-
autocart
- Posts: 1422
- Joined: 26 Sep 2013 15:22
Re: Find Files and QS broken
I understand.
Is this behaviour hard coded?
never mind. switching to real boolean mode (in the FF UI) is the solution [EDIT: actually it is not, see next post]
Is this behaviour hard coded?
never mind. switching to real boolean mode (in the FF UI) is the solution [EDIT: actually it is not, see next post]
Last edited by autocart on 20 Oct 2017 07:49, edited 1 time in total.
[AHK] redirecting Windows Explorer to XY, [XYS] Mini Tree with open tabs (cur loc expanded, tab folders highlighted), [AHK] customInlineRenameKeys, [AHK] clipboardHelper_and_XYEscToList
-
autocart
- Posts: 1422
- Joined: 26 Sep 2013 15:22
Re: Find Files and QS broken
just for completeness:
the boolean mode also parses the string and interprets other chars in its own way, e.g. "(" to name just one.
therefore it might sometimes be best to quote the string, as Don suggested.
however, and here I come back to you, Don, if I quote, it seems that the algorithm compares only against the whole file name (including the extension) and not substrings of the file name.
therefore: are u in the mood, Don, to
1) give us the option in the UI to compare against either the whole file name as one whole string OR substings of it (whether quoted or not)?
2) add an option to the UI to auto-quote the string at least in the name field of the FF dialog (would make more sense if quoted strings compared against substings as well)?
Thx for reading.
the boolean mode also parses the string and interprets other chars in its own way, e.g. "(" to name just one.
therefore it might sometimes be best to quote the string, as Don suggested.
however, and here I come back to you, Don, if I quote, it seems that the algorithm compares only against the whole file name (including the extension) and not substrings of the file name.
therefore: are u in the mood, Don, to
1) give us the option in the UI to compare against either the whole file name as one whole string OR substings of it (whether quoted or not)?
2) add an option to the UI to auto-quote the string at least in the name field of the FF dialog (would make more sense if quoted strings compared against substings as well)?
Thx for reading.
[AHK] redirecting Windows Explorer to XY, [XYS] Mini Tree with open tabs (cur loc expanded, tab folders highlighted), [AHK] customInlineRenameKeys, [AHK] clipboardHelper_and_XYEscToList
XYplorer Beta Club