Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com Message-ID: <3E3D0635.F0AAEF44@doe.carleton.ca> Date: Sun, 02 Feb 2003 06:51:17 -0500 From: Shing-Fat Fred Ma X-Accept-Language: en MIME-Version: 1.0 To: Max Bowsher CC: cygwin@cygwin.com Subject: Re: less 378 still not anchoring to \ References: <3E3CF944.4050400@sympatico.ca> <011801c2caac$bac3e060$78d96f83@pomello> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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. \ doesn't > > match anything, as does . 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@doe.carleton.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/