delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/02/06:51:36

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3E3D0635.F0AAEF44@doe.carleton.ca>
Date: Sun, 02 Feb 2003 06:51:17 -0500
From: Shing-Fat Fred Ma <fma AT doe DOT carleton DOT ca>
X-Accept-Language: en
MIME-Version: 1.0
To: Max Bowsher <maxb AT ukf DOT net>
CC: cygwin AT cygwin DOT com
Subject: Re: less 378 still not anchoring to \<word\>
References: <3E3CF944 DOT 4050400 AT sympatico DOT ca> <011801c2caac$bac3e060$78d96f83 AT pomello>

Max Bowsher wrote:

> f wrote:
> > I just reinstalled "less" from the cygwin site.
> > It still doesn't seem to anchor to word boundaries
> > using regex(3) rules i.e. \<SomeWord\> doesn't
> > match anything, as does <SomeWord>.   I read
> > a posting suggesing a solution by using perl
> > syntax (apparently):
> >
> >     /\bSomeWord\b
> >
> > That works, but is there a known reason why
> > the regex notation doesn't work?
>
> Because less is linked with pcre(3), not regex(3).
>
> Max.

Thanks, Max.  The posting I saw did indeed mention
linking Perl, but I thought that meant added
features rather than different syntax.  It looks
like I better accelerate my picking up of Perl.

Fred

--
Fred Ma, fma AT doe DOT carleton DOT ca
Carleton University, Dept. of Electronics
1125 Colonel By Drive, Ottawa, Ontario
Canada, K1S 5B6




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019