MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: ReplaceAll and BlankNullSequence


On Jun 6, 1:47 am, Philip R Dutton <fooledbypri... at gmail.com> wrote:
> I keep getting {1} when I try to do a simple replacement with this code:
>
> {kevinbacon, iscool} /. {x___, iscool} -> {x}
>
> Why doesn't the output show {kevinbacon} ???
>
> I am so confused...
>
> Thanks for the help!!!

Works fine on Mac OS X version 7.0.1 -- what version are you doing
this on?

-Bob


  • Prev by Date: Mathematica bug??
  • Next by Date: Re: ReplaceAll and BlankNullSequence
  • Previous by thread: Re: ReplaceAll and BlankNullSequence
  • Next by thread: Re: ReplaceAll and BlankNullSequence