Re: manpage searches "^\s+keyword\s" vs. ???
- Date: Wed, 30 Jan 2019 13:03:05 -0800
- From: Wayne Davison <wayne@xxxxxxxxxxxxx>
- Subject: Re: manpage searches "^\s+keyword\s" vs. ???
On Wed, Jan 30, 2019 at 11:09 AM Eric Blake wrote:
> Not so much compilation options of man and less, but rather the code
> used in Cygwin itself for handling regex.
The configuration of less supports many different regex libraries. I
downloaded the source and ran "./configure --with-regex=pcre" and
built a nice version of less that fully supports \b and the various
other perl regex extensions. The output of cygwin's standard "less
--version" indicates it was compiled with posix regex, while linux
suppliers seem to all use gnu regex (which also supports various
perl-isms these days).
I think it would be nice to tweak the less package to be compiled with
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple