Escaped . does match any character

Matthias Cramer matthias.cramer at iway.ch
Mon Jan 18 09:04:16 CET 2010


Hi All

I have the following in my users file:


DEFAULT User-Name =~ ".+\.xy at example.com", Auth-Type := Accept,
Proxy-To-Realm := "DONOTREALM"

This Regexp macthes not only user.xy at example.com but also
useraxy at example.com.

Is this a bug, or do I have to escape the . in a different way ?

Regards

  Matthias

-- 
Matthias Cramer / mc322-ripe   Senior Network & Security Engineer
iway AG	                       Phone +41 43 500 1111
Josefstrasse 225               Fax   +41 44 271 3535
CH-8005 Zürich                 http://www.iway.ch/
GnuPG 1024D/2D208250 = DBC6 65B6 7083 1029 781E  3959 B62F DF1C 2D20 8250





More information about the Freeradius-Users mailing list