Hi Alan, Just wondering whether you had put these in and i'd missed it :) If not, no hastle, they just make the config file look slightly neater.. -- Arran Cudbard-Bell (A.Cudbard-Bell@sussex.ac.uk) Authentication, Authorisation and Accounting Officer Infrastructure Services | ENG1 E1-1-08 University Of Sussex, Brighton EXT:01273 873900 | INT: 3900
Arran Cudbard-Bell wrote:
Hi Alan,
Just wondering whether you had put these in and i'd missed it :)
If not, no hastle, they just make the config file look slightly neater..
Nope. This is in, though: ... =~ /foo/i Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
Alan Dekok wrote:
Arran Cudbard-Bell wrote:
Hi Alan,
Just wondering whether you had put these in and i'd missed it :)
If not, no hastle, they just make the config file look slightly neater..
Nope.
This is in, though: ... =~ /foo/i
Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Yey :) I'm guessing you've offloaded this onto the regexp libraries so all the modifiers should work ? -- Arran Cudbard-Bell (A.Cudbard-Bell@sussex.ac.uk) Authentication, Authorisation and Accounting Officer Infrastructure Services | ENG1 E1-1-08 University Of Sussex, Brighton EXT:01273 873900 | INT: 3900
Arran Cudbard-Bell wrote:
I'm guessing you've offloaded this onto the regexp libraries so all the modifiers should work ?
All modifiers? Perl only uses 'i', 'm', 's', and 'x'. For us, 'm' and 's' don't make any sense. 'x' is hard, so we can ignore it. What other modifiers do you mean? Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
Alan Dekok wrote:
Arran Cudbard-Bell wrote:
I'm guessing you've offloaded this onto the regexp libraries so all the modifiers should work ?
All modifiers? Perl only uses 'i', 'm', 's', and 'x'. For us, 'm' and 's' don't make any sense. 'x' is hard, so we can ignore it.
m does make sense in long string attributes which may contain newlines, though agreed not *really* much use in our case. same with s and yeah no point in x. Ok it is just i which is useful. nice work :) Hmm though there may be a bug with using (?:) to stop the capturing of a sub group, seems to break capturing all together. I'll test it a bit more and get back to you ... This isn't recent, it's always been there... but I had FreeRADIUS was using some weird flavour of regexp.
What other modifiers do you mean?
Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Arran Cudbard-Bell (A.Cudbard-Bell@sussex.ac.uk) Authentication, Authorisation and Accounting Officer Infrastructure Services | ENG1 E1-1-08 University Of Sussex, Brighton EXT:01273 873900 | INT: 3900
Arran Cudbard-Bell wrote:
nice work :)
Thanks. The "switch" and "case" functionality is there now too. But there's no "default" for a "switch" statement.
Hmm though there may be a bug with using (?:) to stop the capturing of a sub group, seems to break capturing all together.
See "man regex", That's what's being used/
This isn't recent, it's always been there... but I had FreeRADIUS was using some weird flavour of regexp.
Nope. It uses whatever you have on your system. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
participants (2)
-
Alan Dekok -
Arran Cudbard-Bell