MathGroup Archive 2009

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

Search the Archive

Re: Bug in Pattern Matching with Condition?


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
> 


  • Prev by Date: typsetting bug still present in Mathematica 7.01
  • Next by Date: Re: Style for function calls?
  • Previous by thread: Bug in Pattern Matching with Condition?
  • Next by thread: Re: Bug in Pattern Matching with Condition?