regular expression

Alan DeKok aland at deployingradius.com
Wed Apr 16 22:35:40 CEST 2008


Kevin J wrote:
> Is there a way that I can use for a regular expression to validate the
> username attribute?

$ man unlang

> Something like
> User-Name =~ [0-9a-zA-Z.#_]

  Yup.  There are examples in the documentation.

  Alan DeKok.



More information about the Freeradius-Users mailing list