Re: [Condor-users] How to combine "member" and "RegExp"


Date: Wed, 2 Feb 2005 22:06:21 +0100 (MET)
From: Massimo Sgaravatto - INFN Padova <massimo.sgaravatto@xxxxxxxxxx>
Subject: Re: [Condor-users] How to combine "member" and "RegExp"
On Mon, 31 Jan 2005, Alain Roy wrote:

> For most Condor users, ignore this email. It can't be used inside ClassAds
> but only in the (currently) separate new ClassAds library.
>
> >I have a probably naive question on classads:
> >
> >I know how to use the "member", e.g.:
> >
> >requirements = member(AMultivaluedAttribute, "abc")
> >
> >and I know how to use the RegExp, e.g:
> >
> >Requirements =  RegExp("*xyz*", Someattribute)
> >
> >but I am not able to find out how to "combine" member and RegExp in a
> >requirements expression.
>
> By combine, you mean "pick a member that matches a regular rexpression"?


Yes, i mean that a list should be matched if at least one of its element
matches the specified regexp


> Right now, there is no good way to do it.
>
> It's an obviously useful thing to do though. Let me talk to the other
> ClassAd folks and see what they think about it. Do you have a preferred
> syntax?


Feel free to propose whatever is better (and simpler) for you :-)

			Cheers, Massimo


>
> -alain
>
>
>
> _______________________________________________
> Condor-users mailing list
> Condor-users@xxxxxxxxxxx
> http://lists.cs.wisc.edu/mailman/listinfo/condor-users
>

[← Prev in Thread] Current Thread [Next in Thread→]
  • Re: [Condor-users] How to combine "member" and "RegExp", Massimo Sgaravatto - INFN Padova <=