Re: Bug in Pattern Matching with Condition?
- To: mathgroup at smc.vnet.net
- Subject: [mg97163] Re: Bug in Pattern Matching with Condition?
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Fri, 6 Mar 2009 05:39:30 -0500 (EST)
- Organization: Uni Leipzig
- References: <goqpe7$lrn$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
Hi, but MatchQ[Condition[a, b], Verbatim[Condition][_, _]] Regards Jens cesar wrote: > Hi Mathematica group, do you get any idea of > why the following sentences don't give true? > > MatchQ[Condition[a, b], Condition[_,_]] > MatchQ[Condition[a, b], Condition[__]] > MatchQ[Condition[a, b], HoldPattern[Condition[__]]] > > Is this a bug? > > Cheers, > Cesar >