Re: regexp matches are sensitive to position in check items

2008-04-05 Thread Jakob Hirsch
Phil Mayers wrote: This is caused by an apparent bug in src/main/valuepair.c. Line 287 should say continue; instead of return 0;. ... I'll be happy to provide a patch, I just don't know if Alan will release any further 1.1.x version. Does the same bug not exist in 2.0? I think not. I took

regexp matches are sensitive to position in check items

2008-04-04 Thread Phil Mayers
Basically, this works in hints: DEFAULT NAS-Port-Id =~ (.+):(.+), NAS-Port !* ANY NAS-Port = `%{expr:1000*%{1} + %{2}}`, Fall-Through = Yes ...but this does not: DEFAULT NAS-Port !* ANY, NAS-Port-Id =~ (.+):(.+) NAS-Port = `%{expr:1000*%{1} + %{2}}`,

Re: regexp matches are sensitive to position in check items

2008-04-04 Thread Jakob Hirsch
Quoting Phil Mayers: Basically, this works in hints: DEFAULT NAS-Port-Id =~ (.+):(.+), NAS-Port !* ANY NAS-Port = `%{expr:1000*%{1} + %{2}}`, Fall-Through = Yes ...but this does not: DEFAULT NAS-Port !* ANY, NAS-Port-Id =~ (.+):(.+) NAS-Port = `%{expr:1000*%{1} +

Re: regexp matches are sensitive to position in check items

2008-04-04 Thread Phil Mayers
Jakob Hirsch wrote: Quoting Phil Mayers: Basically, this works in hints: DEFAULT NAS-Port-Id =~ (.+):(.+), NAS-Port !* ANY NAS-Port = `%{expr:1000*%{1} + %{2}}`, Fall-Through = Yes ...but this does not: DEFAULT NAS-Port !* ANY, NAS-Port-Id =~ (.+):(.+) NAS-Port =