set arch all set arch_field all set result true test set arch foo-bar-baz set arch_field any set result true test set arch foo-bar-baz set arch_field any all set result true test set arch all set arch_field any all set result true test set arch foo-bar-baz set arch_field foo-any-any set result true test set arch foo-bar-baz set arch_field foo-bar-qux set result false test set arch foo-bar-baz set arch_field any-qux-any any-bar-any set result true test set arch foo-bar-baz set arch_field any-qux-any any-quux-any set result false test set arch all set arch_field any set result false test set arch all set arch_field foo-any-any set result false test