MatchQ, silly question
- To: mathgroup at smc.vnet.net
- Subject: [mg105087] MatchQ, silly question
- From: janos <janostothmeister at gmail.com>
- Date: Fri, 20 Nov 2009 06:40:26 -0500 (EST)
MatchQ[3 x^2, #] & /@ {3 x_^2, 3 x_^_, _ x_^_, _ _^_, _ (_^_), _ * (_^_)} dives False in the last cases. Why? The FullForm Power[Blank[ ],Plus[1,Blank[ ]]] contains Plus, why? Thank you. J=E1nos
- Follow-Ups:
- Re: MatchQ, silly question
- From: Andrzej Kozlowski <akoz@mimuw.edu.pl>
- Re: MatchQ, silly question