regex to whitelist cmd able programs (to ignore Gnome-terminal)