Skip to content

Instantly share code, notes, and snippets.

@gmcmillan
Created January 9, 2013 18:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gmcmillan/4495698 to your computer and use it in GitHub Desktop.
Save gmcmillan/4495698 to your computer and use it in GitHub Desktop.
irb(main):002:0> "AaAAaAA".match('\A[a-zA-Z]')
=> #<MatchData "A">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment