MathGroup Archive 1999

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

Search the Archive

Re: ? Repeated Patterns ?

Hi DongGook 

> Beware that ".." doesn't match the same expression, but the same
> pattern, for example:
> In[1]:={0,1,2,3} /. {x_Integer..}->{x}
> Out[1]= {0,1,2,3}

Please forget that part of my mail. Since the pattern carries a 
name, it does indeed search for the same expression.

But the second problem still exists. The ".." tries to find the
shortest match and leaves the rest to the ___ pattern. 

Yours sincerely

  • Prev by Date: Re: ? Repeated Patterns ?
  • Next by Date: Re: Help on GroupOpenCloseIcon
  • Previous by thread: Re: ? Repeated Patterns ?
  • Next by thread: Re: Help on GroupOpenCloseIcon