Added support for wildcard characters