Jiong Wang <jiong.w...@arm.com> writes: > diff --git a/gcc/config.gcc b/gcc/config.gcc > index 5818663..215ad9a 100644 > --- a/gcc/config.gcc > +++ b/gcc/config.gcc > @@ -3544,7 +3544,7 @@ case "${target}" in > > eval "val=\$with_$which" > base_val=`echo $val | sed -e 's/\+.*//'` > - ext_val=`echo $val | sed -e 's/[a-z0-9\-]\+//'` > + ext_val=`echo $val | sed -e 's/[a-z0-9\.\-]\+//'`
Neither backslash is needed inside bracket expressions (in fact, the backslash is taken literally here) as the set of special characters is completely different there. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."