17 Dec
2013
17 Dec
'13
11:20 a.m.
On 17 Dec 2013, at 12:19, Phil Mayers <p.mayers@IMPERIAL.AC.UK> wrote:
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?
The regex delimiter is hardcoded to be a '/', we only support the case insensitive flag, and i'm fairly sure forward slashes need to be double escaped.
I should resurrect my "use any delimiter / more flags / remove double-escaping craziness" regexp patch:
if (Attr =~ !no\tleaning/toothpicks!giu) {
:) Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2