Escaping regex + character

Franks Andy (RLZ) IT Systems Engineer Andy.Franks at sath.nhs.uk
Fri Aug 23 13:43:57 CEST 2013


Yeh, I read that character classes don't need escaping in quite the same
way somewhere, then tried it without escaping but didn't realise it was
down to character position.
I'll give it a try.
Thanks guys.


>> evluation

>Well at least it'll evaluate instead of evluate now.

:-P



-----Original Message-----
From:
freeradius-users-bounces+andy.franks=sath.nhs.uk at lists.freeradius.org
[mailto:freeradius-users-bounces+andy.franks=sath.nhs.uk at lists.freeradiu
s.org] On Behalf Of Phil Mayers
Sent: 23 August 2013 09:52
To: freeradius-users at lists.freeradius.org
Subject: Re: Escaping regex + character

On 08/23/2013 09:35 AM, Arran Cudbard-Bell wrote:

> Or if you shift that hyphen one to the right, it'll probably work OK
too :)

Usually first in the range works:

[-.a-z0-9]

IIRC + doesn't need to be escaped inside a range, same as "."
-
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html


More information about the Freeradius-Users mailing list