Reviewed-by: dfuchs, chegar
Added validation for wildcard at start and end Reviewed-by: chegar, dfuchs, clanger
Reviewed-by: darcy, ihse