better support for ^ and $ in wildcard matching in director$find