Created
May 2, 2013 10:51
-
-
Save tbuehlmann/5501455 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/[:digit]/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ruby -v | |
ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux] | |
$ ruby -w foo.rb | |
foo.rb:1: warning: character class has duplicated range: /[:digit]/ | |
foo.rb:1: warning: possibly useless use of a literal in void context |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment