Found a little bug while working today.
Scenario:
Open file to edit that has the text \n in it some where.
Find \n in file with 'Use regular expressions' un-ticked.
Find will now find every newline in the file, not the text '\n'
Not a biggie, but not the results I was expecting when searching for \n
Zeus 3.98h on Windows 10 Enterprise 64-bit
Grant
Searching for \n
Re: Searching for \n
By design, the default search (i.e. even with regular expression turned off) recognises the \n mnemonic.
The same is true for the '\t' tab character.
So this means if you want to search for the \ character you need to delimit that character.
In other words to search for:
will require the following search string:
Cheers Jussi
The same is true for the '\t' tab character.
So this means if you want to search for the \ character you need to delimit that character.
In other words to search for:
Code: Select all
\n
Code: Select all
\\n
Re: Searching for \n
Thanks for that Jussi.
Grant
Grant