MathGroup Archive 2005

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

Search the Archive

Re: Problem with matching.

  • To: mathgroup at smc.vnet.net
  • Subject: [mg53935] Re: Problem with matching.
  • From: p-valko at tamu.edu
  • Date: Fri, 4 Feb 2005 04:12:09 -0500 (EST)
  • References: <ctrngb$brk$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Josef,

Because the numbers 1  and 2 are not the same, so they cannot be
matched with the same a.

F[{x, 2, c}]F[{x, 1, f}] /. F[{___, a_, ___}]F[{___, b_, ___­}] :> yes


will work fine.

Regards
Peter


  • Prev by Date: Re: Problem with matching.
  • Next by Date: Re: New Web Site for Mathematica Users using WikiMedia
  • Previous by thread: Re: Problem with matching.
  • Next by thread: Re: Problem with matching.