On 7/19/19 2:40 AM, n952162 wrote:
> 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.
>
You caught me, I did
$ ldd /usr/bin/less
linux-vdso.so.1 (0x00007fffb1ea9000)
libncursesw.so.6 => /lib64/libncursesw.so.6 (0x00007fce26a12000)
libpcre.so.1 => /lib64/libpcre.so.1 (0x00007fce269cc000)
libc.so.6 => /lib64/libc.so.6 (0x00007fce267fc000)
/lib64/ld-linux-x86-64.so.2 (0x00007fce26ae5000)
and saw libpcre in there.