(s string)
| 301 | var unescaper = strings.NewReplacer(`\057`, "/", `\052`, "*") |
| 302 | |
| 303 | func zoneName(s string) string { |
| 304 | return unescaper.Replace(strings.TrimRight(s, ".")) |
| 305 | } |
| 306 | |
| 307 | var reZoneId = regexp.MustCompile("^(/hostedzone/)?Z[A-Z0-9]{9,}$") |
| 308 |