Won't `/\{([^\}`])+\}/` fix it?