Reminder: test regex performance with 30+ chars as placeholder name. And also throw exception for too long names. See #8933