Fix the regexes in the config to actually be regexes.

No idea how I thought this was working before. Ping @remear