Searching for this string ... !!

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: 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%).

:info: 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.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
spinner
Posts: 85
Joined: 01 Oct 2004 13:25

Searching for this string ... !!

Post by spinner »

I have some files with names like these WinXP files below which may be stored in the same directory as TV3 is pointing to when I perform the search. Or they may be stored one or two folders down from that level.

WinXP !! .txt
WinXP !!! .txt
WinXP !! !! .txt
WinXP !! !! !! .txt
etc


If I use TV3 (ver 4.00.0133) to search for
!!
then TV3 finds the revelant files and lists them.

However if I use TV3 to search for
!! !!
then TV3 finds nothing.

I am not using Regex and I am not using any other TV3 qualifiers/filters.

Is this a bug? Can it be fixed?

admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Searching for this string ... !!

Post by admin »

Uncheck "Boolean Logic". (! is the NOT operator)

spinner
Posts: 85
Joined: 01 Oct 2004 13:25

Re: Searching for this string ... !!

Post by spinner »

admin wrote:Uncheck "Boolean Logic". (! is the NOT operator)
I am searching with the Boolean Logic selection box UNmarked and get no files returned at all.

When I do MARK the Boolean Logic selection box then a search finds all sorts of files such as:

!
!!
!! !! !!


I can not see why the UNMARKED search fails?

admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Searching for this string ... !!

Post by admin »

Cannot reproduce. Please check all your Find Files checkboxes.

The good news: looking after your issue I found a little crash bug (try searching for "!!" with Boolean Logic checked). :)

spinner
Posts: 85
Joined: 01 Oct 2004 13:25

Re: Searching for this string ... !!

Post by spinner »

admin wrote:Cannot reproduce. Please check all your Find Files checkboxes.

The good news: looking after your issue I found a little crash bug (try searching for "!!" with Boolean Logic checked). :)
Heh! I get your result with !! and Boolean checked.

All my checkboxes are clear except for NAME in 'Name and Location' tab and . Boolean is definitely off.

Files use this format for their names where 'name' and 'ext' are variable (there may or may not be spaces in 'name'):
name[space]![space].ext
name[space]!![space].ext
name[space]!!![space].ext
name[space]!![space]!![space]!![space].ext
name[space]!!![space]!!![space]!!![space].ext


Searching for these strings works (with and without leading or trailing blank space):
!
!!
!!!


Searching for these fails find the relevant files (with or without leading or trailing blank space):
!! !!
!! !! !!
!!! !!! !!!


Have moved directory of files to different drive and still get same non-results. Am on WinXP + SP1 with all patches except SP2.

Maybe someone else here can check this to see what outcome they get.

admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Searching for this string ... !!

Post by admin »

Looks like there's problem with finding spaces on your machine; I don't think it has anything to do with the "!" character.
Can you verify this by trying and failing to find a file named "a b.ext"?
But yes or no, I have no theory yet about the causes of this issue.

Can anybody reproduce it?

BTW, I won't be attending the forum during the next week.

Gandolf

Post by Gandolf »

Using files with the names:

one ! .aaa
two !! .bbb
three !!! .ccc
four !! !! !! .ddd
five !!! !!! !!! .eee

and searching for:

!
!!
!!!
or
!! !!
!! !! !!
!!! !!! !!!
with and without leading / trailing spaces.

All the correct files are found. O.S. is XP, checked with TrackerV3 140 (haven't checked with 143).

JustinF
Posts: 358
Joined: 28 Jun 2005 23:47
Location: Omaha, Nebraska, USA

Post by JustinF »

I cannot reproduce the error. My results are as expected.
Justin
Windows 7 Professional

Gandolf

Post by Gandolf »

Hello spinner:
I just had a thought, do you have any Supplementary language support set? I have had problems with right to left languages (Hebrew) on some programs.

spinner
Posts: 85
Joined: 01 Oct 2004 13:25

Post by spinner »

Gandolf wrote:Hello spinner:
I just had a thought, do you have any Supplementary language support set? I have had problems with right to left languages (Hebrew) on some programs.
I don't know if I have or have not. I will check this out.

spinner
Posts: 85
Joined: 01 Oct 2004 13:25

Re: Searching for this string ... !!

Post by spinner »

admin wrote:Looks like there's problem with finding spaces on your machine; I don't think it has anything to do with the "!" character.
Can you verify this by trying and failing to find a file named "a b.ext"?
But yes or no, I have no theory yet about the causes of this issue.
Yes, I can confirm that my TV3 can NOT find a file called "a b.ext" (without quotes).

I created it exactly like above (including the extension "ext") and out it in a subdirectory on C. Tracker was set to scan subdirectories and no other TV3 filters were applied. TV3 did NOT locate it.

Then I experimented with these:-

Boolean did not help. (All others unchecked.)
Full Words did not help. (All others unchecked.)
25% Fuzzy *did* find it. (All others unchecked.)
RegExp mode (using the prefix) did* find it. (All others unchecked.)

Hope that helps.

admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Searching for this string ... !!

Post by admin »

Somehow your spaces are not spaces... so I think Gandolf had the right idea (Supplementary language support set). Did you check that?

Post Reply