Created
May 19, 2011 18:16
-
-
Save rdj/981384 to your computer and use it in GitHub Desktop.
This file contains hidden or 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-1.9.2-p180 :008 > "These two\u00A0words should be split".scan /\w+/ | |
| => ["These", "two", "words", "should", "be", "split"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment