XXXX redacted: Difference between revisions

Content added Content deleted
(→‎{{header|Go}}: Correction to preamble.)
m (→‎{{header|Go}}: Doh, typo in program comment.)
Line 103: Line 103:
text = rgx.ReplaceAllStringFunc(text, rf)
text = rgx.ReplaceAllStringFunc(text, rf)
}
}
// replace any remaining underscores with hyphens && '9's with apostrophes
// replace any remaining underscores with hyphens and '9's with apostrophes
text = strings.ReplaceAll(text, "_", "-")
text = strings.ReplaceAll(text, "_", "-")
text = strings.ReplaceAll(text, "9", "'")
text = strings.ReplaceAll(text, "9", "'")