[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: silly: sed and simple regex that doesn't work
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: silly: sed and simple regex that doesn't work
- From: naddy_(_at_)_mips_(_dot_)_inka_(_dot_)_de (Christian Weisgerber)
- Date: Sun, 22 Aug 2004 21:30:52 +0000 (UTC)
- Newsgroups: list.openbsd.misc
Aleksander Piotrowski <aleksander_(_dot_)_piotrowski_(_at_)_nic_(_dot_)_com_(_dot_)_pl> wrote:
> I've got following code which doesn't work:
>
> echo "foo123bar" | sed -e 's/\([0-9]\+\)//'
'+' is not a meta character in basic regular expressions, see
re_format(7).
--
Christian "naddy" Weisgerber naddy_(_at_)_mips_(_dot_)_inka_(_dot_)_de
Visit your host, monkey.org