# This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivs 2.0 France License. # To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/2.0/fr/ # or send a letter to Creative Commons, 444 Castro Street, Suite 900, Mountain View, California, 94041, USA. body common control { bundlesequence => { "my_none" }; } bundle agent my_none { vars: "countries" slist => { "australia", "bulgaria", "belize", "canada", "cambodia", }; classes: "not_ending_with_a" expression => none("^.*a$", "countries"); "not_ending_with_e" expression => none("^.*e$", "countries"); reports: not_ending_with_a:: "All countries dont' end with 'a'"; not_ending_with_e:: "All countries don't end with 'e'"; }