Whole word search in less? How can I do a whole word search in less? Per this post on a unix/linux forum you can use regex 'whole word' markers \&lt;word\&gt; but that doesn't seem to work for me on macOS 10.13.4 (17E202) in iTerm2 on less version 487 (found by less --version).
Running less --version gives 

less 487 (POSIX regular expressions)


so you need to use POSIX regexps in less. To learn more about them you can read through re_format(7) to find

There are two special cases= of bracket expressions: the bracket expressions `[[:&lt;:]]'
and `[[:&gt;:]]' match the null string at the beginning and end of a word respectively.


So to search for word you need to enter [[:&lt;:]]word[[:&gt;:]] on the search prompt (which probably isn't very useful in most situations).

PS: This also applies to the version of less installed via Homebrew. You might have more luck by compiling it yourself and specifying an alternative regexp library (or by modifying the source accordingly).