regular expression error in 3.0.x not present in 3.0.6

Aaron Hurt ahurt at ena.com
Thu Mar 5 17:49:18 CET 2015


I have a policy.d file containing a regular expression that works in 3.0.6 that I’ve tried with two different flavors.
Both flavors load and work in 3.0.6 but error in the latest 3.0.x branch.

Flavor1:
simple_nt_regexp = "^([^\\\\]*)(\\\\(.*))$"

Flavor2:
simple_nt_regexp = "^([^\\\\]*)\\\\(.*)$”


In 3.0.x from today:

/opt/local/etc/raddb/policy.d/strip-user-domain[9]: Invalid regular expression:
/opt/local/etc/raddb/policy.d/strip-user-domain[9]: ^([^\\]*)\\(.*)$
/opt/local/etc/raddb/policy.d/strip-user-domain[9]: ^ Pattern study failed: unknown or incorrect option bit(s) set

/opt/local/etc/raddb/policy.d/strip-user-domain[10]: Invalid regular expression:
/opt/local/etc/raddb/policy.d/strip-user-domain[10]: ^([^\\]*)(\\(.*))$
/opt/local/etc/raddb/policy.d/strip-user-domain[10]: ^ Pattern study failed: unknown or incorrect option bit(s) set

Is there something obvious that I am missing?

— Aaron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20150305/4967c087/attachment.sig>


More information about the Freeradius-Devel mailing list