Created an attachment (id=290964)
Updated test program (for illustration purposes only), incorporating code from patch v3 [cf. comment 34]
The difference to the output shown in comment 17 is that it will no longer allow the "foo*bar.example.com" and "*" patterns (i.e. the last two lines with "MATCHES" now turn into a "does not match").
Created an attachment (id=290964)
Updated test program (for illustration purposes only), incorporating code from patch v3 [cf. comment 34]
The difference to the output shown in comment 17 is that it will no longer allow the "foo*bar. example. com" and "*" patterns (i.e. the last two lines with "MATCHES" now turn into a "does not match").