Added regex matching for plugins