From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 53427 invoked by alias); 30 Jan 2019 21:03:23 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 53420 invoked by uid 89); 30 Jan 2019 21:03:23 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=suppliers, Hx-spam-relays-external:ESMTPA X-HELO: eastern.maple.relay.mailchannels.net Received: from eastern.maple.relay.mailchannels.net (HELO eastern.maple.relay.mailchannels.net) (23.83.214.55) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 30 Jan 2019 21:03:22 +0000 X-Sender-Id: dreamhost|x-authsender|dropbox@opencoder.net Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 0057550353A for ; Wed, 30 Jan 2019 21:03:20 +0000 (UTC) Received: from pdx1-sub0-mail-a37.g.dreamhost.com (unknown [100.96.30.62]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id BD244501914 for ; Wed, 30 Jan 2019 21:03:19 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|dropbox@opencoder.net Received: from pdx1-sub0-mail-a37.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.16.2); Wed, 30 Jan 2019 21:03:19 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|dropbox@opencoder.net X-MailChannels-Auth-Id: dreamhost X-Illustrious-Wiry: 0b54d17509e5bd93_1548882199847_2952506795 X-MC-Loop-Signature: 1548882199847:1668008873 X-MC-Ingress-Time: 1548882199847 Received: from pdx1-sub0-mail-a37.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a37.g.dreamhost.com (Postfix) with ESMTP id 1E07380656 for ; Wed, 30 Jan 2019 13:03:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=opencoder.net; h= mime-version:references:in-reply-to:from:date:message-id:subject :to:content-type; s=opencoder.net; bh=L10InpgHtfilGLoi3TY/ZtjN0D s=; b=hbFd8H6bnfY68LVYG08da1O6vfMnjGkNr1c0ND2/TnwwRAFnV4zHa4nc+D XUSrq3/CNmCHwUWIIDs5/pKZPzq3PG6jK+zJpbt4YNGdiUN+Q35lmqB54/oaEYyz p5sNfkyAGfvDtO6T6U0U23mDmqtd1ynKAfU7oeWYpPNh1P/B4= Received: from mail-it1-f173.google.com (mail-it1-f173.google.com [209.85.166.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: dropbox@opencoder.net) by pdx1-sub0-mail-a37.g.dreamhost.com (Postfix) with ESMTPSA id 7A3F18097E for ; Wed, 30 Jan 2019 13:03:17 -0800 (PST) Received: by mail-it1-f173.google.com with SMTP id x124so613988itd.1 for ; Wed, 30 Jan 2019 13:03:17 -0800 (PST) MIME-Version: 1.0 References: <5C4E5F0F.2090403@tlinx.org> <1210066491.20190130214043@yandex.ru> In-Reply-To: X-DH-BACKEND: pdx1-sub0-mail-a37 From: Wayne Davison Date: Wed, 30 Jan 2019 21:03:00 -0000 Message-ID: Subject: Re: manpage searches "^\s+keyword\s" vs. ??? To: cygwin Content-Type: text/plain; charset="UTF-8" X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtledrjeeggddugeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucenucfjughrpeggfhgjhfffkffuvfgtsehttdertddttdejnecuhfhrohhmpeghrgihnhgvucffrghvihhsohhnuceofigrhihnvgesohhpvghntghouggvrhdrnhgvtheqnecukfhppedvtdelrdekhedrudeiiedrudejfeenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlqdhithduqdhfudejfedrghhoohhglhgvrdgtohhmpdhinhgvthepvddtledrkeehrdduieeirddujeefpdhrvghtuhhrnhdqphgrthhhpeghrgihnhgvucffrghvihhsohhnuceofigrhihnvgesohhpvghntghouggvrhdrnhgvtheqpdhmrghilhhfrhhomhepfigrhihnvgesohhpvghntghouggvrhdrnhgvthdpnhhrtghpthhtoheptgihghifihhnsegthihgfihinhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-IsSubscribed: yes X-SW-Source: 2019-01/txt/msg00302.txt.bz2 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