add searching for pattern matches, as in Metatron