Skip to content

Instantly share code, notes, and snippets.

@SamSaffron
Created January 18, 2018 20:00
Show Gist options
  • Save SamSaffron/e2e1f7e1204c59292660cdfd0c2ea850 to your computer and use it in GitHub Desktop.
Save SamSaffron/e2e1f7e1204c59292660cdfd0c2ea850 to your computer and use it in GitHub Desktop.
DATA.read.gsub(/(\s|)+([!?;]+(\s|\z))/, ' \2\3')
__END__
GET /wp-login.php HTTP/1.1 69
GET /show.aspx HTTP/1.1 15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment