MathGroup Archive 2009

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

Search the Archive

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
> 


  • 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?