From owner-freebsd-questions@FreeBSD.ORG Sun Dec 5 21:51:24 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 136C1106567A for ; Sun, 5 Dec 2010 21:51:24 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id DA8D68FC08 for ; Sun, 5 Dec 2010 21:51:23 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 09D93E80B10; Sun, 5 Dec 2010 13:51:22 -0800 (PST) Date: Sun, 5 Dec 2010 13:51:22 -0800 From: Gary Kline To: "Randal L. Schwartz" Message-ID: <20101205215122.GA26300@thought.org> References: <20101205002602.GA27499@thought.org> <4cfaf16b./uHAeLS0wfpxq8FB%perryh@pluto.rain.com> <20101205043257.GA3854@thought.org> <86zksk5de1.fsf@red.stonehenge.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86zksk5de1.fsf@red.stonehenge.com> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-questions@freebsd.org, perryh@pluto.rain.com, xSAPPYx , jgimer@gmail.com Subject: Re: regex question.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Dec 2010 21:51:24 -0000 On Sun, Dec 05, 2010 at 09:37:58AM -0800, Randal L. Schwartz wrote: > >>>>> "Gary" == Gary Kline writes: > > Gary> %s/[1-0][0-9]*/foo/g > > Except 1-0 is an empty set. :) > Ya, sure, you-betcha! I really did mean a '9'there. For some reason, what I'm thinking sometimes fails to get translated into what I type. Like my fingers have a mind of their o wn... I do Not watch the display; just the keybd. ...... > -- > Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 > > Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. > See http://methodsandmessages.posterous.com/ for Smalltalk discussion -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.97a release of Jottings: http://jottings.thought.org