Consistently colorize input using regex matches