1. Added regex support to sh/dup_*.pl commands