Date: Sun, 5 Dec 2010 08:44:03 +0000 From: RW <rwmaillists@googlemail.com> To: freebsd-questions@freebsd.org Subject: Re: regex question.... Message-ID: <20101205084403.59ad70e7@gumby.homeunix.com> In-Reply-To: <20101205043257.GA3854@thought.org> 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
On Sat, 4 Dec 2010 20:32:57 -0800 Gary Kline <kline@thought.org> wrote: > On Sat, Dec 04, 2010 at 06:49:45PM -0800, xSAPPYx wrote: > > Also, the + operator means '1 or more' but needs escaped: > > %s/[0-9]\+/foo/g > > > Okay. I thought that the + must be perl-only regex... . It's from "Extended" REs rather than perl specifically, it works with sed -E but not plain sed. Not sure about vi.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101205084403.59ad70e7>