Page 1 of 1

Find Files fails with /\\: as text to find

Posted: 2020-03-29, 07:58 UTC
by CatalinIonescu_RO
This is with TC 9.51, 64-bit on latest Win 10.

I wanted to find the

Code: Select all

"/\\:"
text in some C/C++ source files. The exact text was copied from an actual source file.

With the original text to find, search failed. In the end I was able to track it down to

Code: Select all

/\\:
with any shorter sequence producing results.

In the find files dialog the only check ticked is ANSI charset (Windows).

Re: Find Files fails with /\\: as text to find

Posted: 2020-03-29, 08:11 UTC
by ghisler(Author)
Backslashes are special in the "find text" edit box. As described in the help:
With \t you find tabstops, and with \n line breaks (ENTER) in texts. To find a backslash \, you need to give it twice: \\ .

So your search string needs to be changed to:

Code: Select all

/\\\\: