Skip to content

Instantly share code, notes, and snippets.

@technogoat
Created December 28, 2011 15:33
Show Gist options
  • Save technogoat/1528367 to your computer and use it in GitHub Desktop.
Save technogoat/1528367 to your computer and use it in GitHub Desktop.
^(.*) - the SHA (at the start of the line ^)
(\s+) - a cupla spaces
(.*[a-z])$ - a string ending in a letter, followed by end of line ($) (there are more exact/safer ways of doing this regexp, I know)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment