[faq] add Q about searching

Related to #1290
This commit is contained in:
Tim Stack 2024-08-04 09:07:02 -07:00
parent f9f3caca0e
commit 6ce3c58ea4

View File

@ -83,3 +83,12 @@ Q: Why isn't a file being displayed?
:Details: If a file being monitored by lnav does not match a known log file
format, it is treated as plaintext and will be displayed in the TEXT view.
Q: How can I search for an exact word?
--------------------------------------
:Solution: Surround the word to search for with :code:`\b`.
:Details: The :code:`\b` means "word break" and matches a position where a
"word" ends. That is, right before a space character, punctuation, etc,
or at EOL.