Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1999

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

Search the Archive

Re: ? Repeated Patterns ?

  • To: mathgroup at
  • Subject: [mg19017] Re: ? Repeated Patterns ?
  • From: Bruno Daniel <bruno.daniel at>
  • Date: Tue, 3 Aug 1999 13:44:51 -0400
  • Organization: University of Karlsruhe
  • References: <7n8nfc$>
  • Sender: owner-wri-mathgroup at

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