Support '/' and '-' in braced template placeholders (#2098)