Multivalued attributes

Arran Cudbard-Bell a.cudbardb at freeradius.org
Tue Jul 29 19:44:23 CEST 2014


On 29 Jul 2014, at 12:11, Phil Mayers <p.mayers at IMPERIAL.AC.UK> wrote:

> On 29/07/2014 15:45, Arran Cudbard-Bell wrote:
> 
>> Sure... Though We already use [*] for string expansions, Alan suggested using the same
>> here to refer to multiple instances. Do you think that'd work ok?
> 
> Not sure I understand. As in:
> 
> if (Attr[*] =~ /regex/)

Yes, where each instance of attr would be checked against the regex, and if any matched
the condition would be true.

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS development team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 881 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140729/87f96874/attachment.pgp>


More information about the Freeradius-Users mailing list