[COOK-2338] Allow pinning by glob() and regexp