Fix exclude regex option.