Improves in regex check for plugin name