Date: Sun, 05 Dec 2010 09:37:58 -0800 From: merlyn@stonehenge.com (Randal L. Schwartz) To: Gary Kline <kline@thought.org> Cc: freebsd-questions@freebsd.org, perryh@pluto.rain.com, xSAPPYx <xsappyx@gmail.com>, jgimer@gmail.com Subject: Re: regex question.... Message-ID: <86zksk5de1.fsf@red.stonehenge.com> In-Reply-To: <20101205043257.GA3854@thought.org> (Gary Kline's message of "Sat, 4 Dec 2010 20:32:57 -0800") References: <20101205002602.GA27499@thought.org> <AANLkTinXsSHj4kLha9SgR4T0Rn7TvH1cKmZ-pYe%2BgC-k@mail.gmail.com> <4cfaf16b./uHAeLS0wfpxq8FB%perryh@pluto.rain.com> <AANLkTinLu9Uiu0WRfo_-5QDWDnuQG7sXfGqFaVgXAd5u@mail.gmail.com> <20101205043257.GA3854@thought.org>
next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Gary" == Gary Kline <kline@thought.org> writes: Gary> %s/[1-0][0-9]*/foo/g Except 1-0 is an empty set. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/> Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.posterous.com/ for Smalltalk discussion
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86zksk5de1.fsf>