Skip to content

Instantly share code, notes, and snippets.

@tasugim
Created January 12, 2016 14:11
Show Gist options
  • Select an option

  • Save tasugim/68336f08f821e33d34d3 to your computer and use it in GitHub Desktop.

Select an option

Save tasugim/68336f08f821e33d34d3 to your computer and use it in GitHub Desktop.
整数にマッチするRubyの正規表現
/(0|-?[1-9]\d*)/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment