File: escape_backslash.hcl

package info (click to toggle)
golang-github-hashicorp-hcl 0.0~git20161215.0.80e628d-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch, stretch-backports
  • size: 948 kB
  • sloc: makefile: 22
file content (5 lines) | stat: -rw-r--r-- 167 bytes parent folder | download | duplicates (3)
1
2
3
4
5
output {
  one = "${replace(var.sub_domain, ".", "\\.")}"
  two = "${replace(var.sub_domain, ".", "\\\\.")}"
  many = "${replace(var.sub_domain, ".", "\\\\\\\\.")}"
}