[BUG] Search: Names with semicolons are not found

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

[BUG] Search: Names with semicolons are not found

Post by *icfu »

1. Create a file: c:\te;st.txt
2. Search for "te;st.txt"
=> Nothing found.

3. Search for "te;st"
=> It's found.

Icfu
This account is for sale
User avatar
StickyNomad
Power Member
Power Member
Posts: 1933
Joined: 2004-01-10, 00:15 UTC
Location: Germany

Post by *StickyNomad »

Confirmed.
User avatar
sas2000
Power Member
Power Member
Posts: 682
Joined: 2003-02-07, 04:32 UTC
Location: Galiza

Re: [BUG] Search: Names with semicolons are not found

Post by *sas2000 »

 
icfu wrote:1. Create a file: c:\te;st.txt
2. Search for "te;st.txt"
=> Nothing found.

3. Search for "te;st"
=> It's found.
Confirmed ++, but you can find it this way :

1. Search for "te;st.txt"
=> Nothing found.

2. Search for "te;st.txt" RegEx activated
=> It's found.
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

icfu wrote:1. Create a file: c:\te;st.txt
2. Search for "te;st.txt"
=> Nothing found.

3. Search for "te;st"
=> It's found.
Confirmed.
sas2000 wrote:2. Search for "te;st.txt" RegEx activated
=> It's found.
Almost confirmed: ;)

Search for "te;st.txt" RegEx activated
=> Nothing found.

Search for te;st.txt RegEx activated (no quotes surrounding the name)
=> It's found.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
sas2000
Power Member
Power Member
Posts: 682
Joined: 2003-02-07, 04:32 UTC
Location: Galiza

Post by *sas2000 »

 
StatusQuo wrote:
sas2000 wrote:2. Search for "te;st.txt" RegEx activated
=> It's found.
Almost confirmed: ;)

Search for "te;st.txt" RegEx activated
=> Nothing found.

Search for te;st.txt RegEx activated (no quotes surrounding the name)
=> It's found.
When i wrote "te;st.txt" i meant te;st.txt without quotes ( obviously :) ).
 
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50475
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This is also intentional, the ";" character was initially used to separate name parts, which was later changed to a space - but the ";" is still allowed for backwards compatibility when the search string contains a dot.
Author of Total Commander
https://www.ghisler.com
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

However, if semi-colons are problematic,
shouldn't surrounding quotes lead TC to treat the name as typed?

Including the quotes and having RegEx not checked,
  • "te st.txt"
is found,
  • "te;st.txt"
is not.
Quite odd, isn't it?

"No files found" doesn't mean what I would expect in this case. :(
If this can't be fixed, this limitation should at least be in the help then, IMO.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
sas2000
Power Member
Power Member
Posts: 682
Joined: 2003-02-07, 04:32 UTC
Location: Galiza

Post by *sas2000 »

 
StatusQuo wrote:However, if semi-colons are problematic,
shouldn't surrounding quotes lead TC to treat the name as typed?
It seems the best solution, support.
 
Post Reply