Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1999
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*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 smc.vnet.net
  • Subject: [mg19017] Re: ? Repeated Patterns ?
  • From: Bruno Daniel <bruno.daniel at hadiko.de>
  • Date: Tue, 3 Aug 1999 13:44:51 -0400
  • Organization: University of Karlsruhe
  • References: <7n8nfc$k9m@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

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
  Bruno


  • 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