[TC 11.51] Search: semicolon in first quoted string acts as separator when it shouldn't
Posted: 2025-03-12, 14:28 UTC
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:
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:
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"
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"