X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; q=dns; s=default; b=ByRvAAw eU57GQCwoqA3i3thmkxDgaZ3UQIemhiRfuKYcDyXgciOs3qgeiY0uN396EbUJszG //HRWw4/kBk77hAH/agj6/gqGJ/mx+3CjG9dS5Dq4RMK93ggTvnCAefvgk/BbYwI kw1W/k1MeWE2hol9uinZXl0/7py2Yw/vi2fU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; s=default; bh=EjyX1k0VAFcoz CXAiL/+nQFUqwY=; b=VUN2G/lW50ASxyFjfTB8A4KZuYj9OzW34UojNfnsbDSqI sXLse8/Qlaob0WU25Fv1kksDl7A0c1tO2BZl1/unw4fW6CPIlmZYVy0FiaKJq+K0 g1ggGSWlSrk1PTV2UtBYP39H4UnckXK7Ckva0PffQi03JKVvLw764psP5yqIPE= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 X-Sender-Id: dreamhost|x-authsender|dropbox AT opencoder DOT net X-Sender-Id: dreamhost|x-authsender|dropbox AT opencoder DOT net X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|dropbox AT opencoder DOT net X-MailChannels-Auth-Id: dreamhost X-Illustrious-Wiry: 0b54d17509e5bd93_1548882199847_2952506795 X-MC-Loop-Signature: 1548882199847:1668008873 X-MC-Ingress-Time: 1548882199847 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= MIME-Version: 1.0 References: <5C4E5F0F DOT 2090403 AT tlinx DOT org> <1210066491 DOT 20190130214043 AT yandex DOT ru> In-Reply-To: X-DH-BACKEND: pdx1-sub0-mail-a37 From: Wayne Davison Date: Wed, 30 Jan 2019 13:03:05 -0800 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 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