Date: Sat, 4 Dec 2010 17:29:49 -0700 From: Joshua Gimer <jgimer@gmail.com> To: Gary Kline <kline@thought.org> Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: regex question.... Message-ID: <AANLkTinXsSHj4kLha9SgR4T0Rn7TvH1cKmZ-pYe%2BgC-k@mail.gmail.com> In-Reply-To: <20101205002602.GA27499@thought.org> References: <20101205002602.GA27499@thought.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Dec 4, 2010 at 5:26 PM, Gary Kline <kline@thought.org> wrote: > I have tried :1,$/s/[0-9]][0-9][0-9]/foo/g Why not just %s/[0-9]*/foo/g -- Thanks, Joshua Gimer --------------------------- http://www.linkedin.com/in/jgimer http://twitter.com/jgimer http://itsecops.blogspot.com/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinXsSHj4kLha9SgR4T0Rn7TvH1cKmZ-pYe%2BgC-k>