working regex for cookbooks