1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
# # PRE: if-regex-match if-regex-error # # # This should parse # if (&User-Name =~ /%{User-Name}/) { update reply { Filter-Id := "filter" } } # # Check regexes which refer to unknown attributes # if (&User-Name =~ /%{What-The-Heck-Is-This-Thing}/) { # ERROR update reply { Filter-Id := "filter" } }