[TC 11.51] Search: semicolon in first quoted string acts as separator when it shouldn't

Bug reports will be moved here when the described bug has been fixed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
white
Power Member
Power Member
Posts: 5895
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

[TC 11.51] Search: semicolon in first quoted string acts as separator when it shouldn't

Post by *white »

Issue: When searching for files, a semicolon in the first quoted string sometimes acts as separator when it shouldn't.
I think it is not documented but a semicolon in a searchstring acts the same way as a space, but with the issue described below.
This issue isn't new for TC 11.51 but exists for a long time in TC.

Create 2 files with the following filenames:
A;B.txt
C;D.txt

Search for:

Code: Select all

"A;B.txt";"C;D.txt"
The semicolon in the first quoted part acts as a separator, so files "A", "B.TXT" and "C;D.txt" are found.
But if the entire search string contains a space character anywhere (as separator or as part of a filename), the issue doesn't occur.
And the issue only happens for the fist quoted string that starts at the beginning, so the following example doesn't have the issue:

Code: Select all

Q.TXT;"A;B.txt";"C;D.txt"
User avatar
petermad
Power Member
Power Member
Posts: 16065
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.51] Search: semicolon in first quoted string acts as separator when it shouldn't

Post by *petermad »

Confirmed as described.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50703
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.51] Search: semicolon in first quoted string acts as separator when it shouldn't

Post by *ghisler(Author) »

This should be fixed in Total Commander 11.55 release candidate 1, please test it!
26.03.25 Fixed: Multi-part search strings with a semicolon ; as separator not working correctly when not containing any spaces, e.g. "A;B.txt";"C;D.txt" (32/64)
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 5895
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC 11.51] Search: semicolon in first quoted string acts as separator when it shouldn't

Post by *white »

Tested OK using TC 11.55rc1 32-bit and 64-bit.

Moderator message from: white » 2025-05-08, 19:10 UTC

Moved topic
» from TC11.x bug reports (English) to TC Fixed bugs
Post Reply