public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Wayne Davison <wayne@opencoder.net>
To: cygwin <cygwin@cygwin.com>
Subject: Re: manpage searches "^\s+keyword\s" vs. ???
Date: Wed, 30 Jan 2019 21:03:00 -0000	[thread overview]
Message-ID: <CAHSx_SvqSHBR3eG2Fy2Mo6RYveS+t9EE8c3d1U4Ek8M5GxH3GQ@mail.gmail.com> (raw)
In-Reply-To: <c8f36794-db4a-8148-0547-eaad351c7795@redhat.com>

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
pcre regex.

..wayne..

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

  parent reply	other threads:[~2019-01-30 21:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-28  1:47 L A Walsh
2019-01-30 18:50 ` Andrey Repin
2019-01-30 19:09   ` Eric Blake
2019-01-30 19:34     ` Corinna Vinschen
2019-01-30 19:35     ` Eric Blake
2019-01-30 21:03     ` Wayne Davison [this message]
2019-01-31  0:55   ` Brian Inglis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAHSx_SvqSHBR3eG2Fy2Mo6RYveS+t9EE8c3d1U4Ek8M5GxH3GQ@mail.gmail.com \
    --to=wayne@opencoder.net \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).