Search for exact string doesn't work if the string contains "^" [message #1678] |
Sun, 16 July 2023 12:18 |
Atlas
Messages: 140 Registered: August 2009
|
Senior Member |
|
|
Actions taken:
1. Add search condition that file content contains the string "foxtrot".
2. Add search condition that "Content" must "Includes the exact string", and I use the search string [^(?!.*(transfer] <--- The search string is wrapped around square brackets, but it doesn't contain square brackets. I uncheck all the ignore options.
Results:
It seems to search for the string "transfer" and ignore the rest of the symbols in the exact string.
However, if I drop the "^" at the front of the search string and search with only [(?!.*(transfer], then it will work as expected. I know the symbol "^" is used to search for exact string in Foxtrot Query, so I would understand if this search string is causing issues in Foxtrot Query, but in this case I'm using the "Includes the exact string" option to do the search. Why is the character "^" being treated differently under the "Includes the exact string" option?
[Updated on: Sun, 16 July 2023 12:18] Report message to a moderator
|
|
|
|
|