From owner-freebsd-questions Wed Jan 2 8: 9:35 2002 Delivered-To: freebsd-questions@freebsd.org Received: from ns.bsag.ch (ns.bsag.ch [62.2.201.74]) by hub.freebsd.org (Postfix) with ESMTP id DE9F637B421 for ; Wed, 2 Jan 2002 08:09:30 -0800 (PST) Received: from gw.bsag.ch (root@localhost) by ns.bsag.ch with ESMTP id g02GAqJ22672 for ; Wed, 2 Jan 2002 17:10:52 +0100 (CET) Received: from ns.bsag.ch (bs13.bsag.ch [192.168.1.13]) by gw.bsag.ch with ESMTP id g02GAqn22668 for ; Wed, 2 Jan 2002 17:10:52 +0100 (CET) Received: (from hpr@localhost) by ns.bsag.ch (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5) id g02G9UP26560 for freebsd-questions@freebsd.org; Wed, 2 Jan 2002 17:09:30 +0100 Date: Wed, 2 Jan 2002 17:09:30 +0100 From: Hanspeter Roth To: freebsd-questions@freebsd.org Subject: word delimiter (\>, \b) and regex-lib in less Message-ID: <20020102170930.A24563@bs13.bsag.ch> Reply-To: freebsd-questions@freebsd.org Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.16i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the Linux installation of less there is a word delimiter (\<, \>) available (like in vim). This is especially convenient when searching for small words. The Bsd installation doesn't seem to have some kind of word delimiter, neither \<, \> nor \b. I tried to play with the less port and tried different regex-libraries. But none of them doesn't seem to support one of those word delimiters. Is there some alternate library with some other word delimiter? Does the Posix regex library habe a word delimiter? Which one? Maybe the one of the regexx port? If yes can one link the less port with the regexx library? How? -Hanspeter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message