python: string formatting a regex string that uses both '%' and '{' as characters,"""""""([0-9]{{1,3}}[%])([{0}]?)"""""".format(config.SERIES)"