[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: silly: sed and simple regex that doesn't work



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