Colorize input on the command line based on regex.