Skip to content

Instantly share code, notes, and snippets.

@joshuarubin
Last active July 17, 2016 22:21
Show Gist options
  • Save joshuarubin/67150da4eea62a0a33c2970dbec72987 to your computer and use it in GitHub Desktop.
Save joshuarubin/67150da4eea62a0a33c2970dbec72987 to your computer and use it in GitHub Desktop.
hodor2
var re = regexp.MustCompile(`hodor`)
func process(text string) string {
return re.ReplaceAllString(text, `hold the door`)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment