Update settings regexes to support settings with "[", "]" in them