The man page says:
The pattern is a regular expression, as recognized by
the regular expression library supplied by your system
There are many regular expression libraries on my system.
Anyway, thank you for the (unexpected) tip:
man perlre
That says to use \b instead of the decades-old \<.
On 07/18/19 20:55, Michael Orlitzky wrote:
On 7/18/19 6:40 PM, n952162 wrote:
in less(1), how do you search for a pattern at the beginning (or ending)
of a word.
Hit front slash "/" in less, and then type a perl-compatible regular
expression. Specifically, try
https://www.pcre.org/original/doc/html/pcrepattern.html#smallassertions
Also, where the change is documented.
man less