autogenerate numerous matching patterns from existing patterns