(s string)
| 23 | } |
| 24 | |
| 25 | func CheckMultilineBegin(s string) bool { |
| 26 | // Match block header |
| 27 | // https://yaml.org/spec/1.2.2/#8112-block-chomping-indicator |
| 28 | r, _ := regexp.Compile("[|>](([0-9]*[+-])|([+-][0-9]*))?$") |
| 29 | return r.MatchString(s) |
| 30 | } |
| 31 | |
| 32 | // String returns a string representation of the supplied cft.Template |
| 33 | func String(t *cft.Template, opt Options) string { |
no outgoing calls