Re: Problem with matching.
- To: mathgroup at smc.vnet.net
- Subject: [mg53927] Re: Problem with matching.
- From: "Valeri Astanoff" <astanoff at yahoo.fr>
- Date: Fri, 4 Feb 2005 04:11:31 -0500 (EST)
- References: <ctrngb$brk$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
To my mind you have to prevent Mathematica from squaring F[{___, a_, ___}] : In[1]:= F[{x,2,c}]F[{x,1,f}]/.F[{b___,a_,c___}]F[{d___,a_,e___}] :> yes Out[1]= yes Valeri