Regex Split on forward slash?

Phil Mayers p.mayers at imperial.ac.uk
Tue Dec 17 13:19:22 CET 2013


On 17/12/13 11:41, Arran Cudbard-Bell wrote:

> No, g won't work. You probably need \\/ because of the multiple levels of escaping...

Really? Isn't the delimiter handled at top-level of the unlang parser?

I should resurrect my "use any delimiter / more flags / remove 
double-escaping craziness" regexp patch:

if (Attr =~ !no\tleaning/toothpicks!giu) {
  ...
}


More information about the Freeradius-Users mailing list