wildcards: flags support, return reason of not matched