Created
July 5, 2012 09:38
-
-
Save shellac/3052627 to your computer and use it in GitHub Desktop.
Checking Larryzhao script on jruby master
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
$ jruby -v | |
jruby 1.7.0.preview2.dev (ruby-1.9.3-p203) (2012-07-03 a364a87) (OpenJDK 64-Bit Server VM 1.7.0_03) [linux-amd64-java] | |
$ jruby test.rb | |
==== Text in English ==== | |
#<MatchData "@chichi dog dog" 1:"@" 2:"chichi" 3:" dog dog"> | |
1. 11 | |
2. 12 | |
3. 18 | |
==== Text in Chinese ==== | |
#<MatchData "@chichi 狗狗" 1:"@" 2:"chichi" 3:" 狗狗"> | |
1. 6 | |
2. 7 | |
3. 13 | |
==== Text in Japanese ==== | |
#<MatchData "@chichi ドッグ" 1:"@" 2:"chichi" 3:" ドッグ"> | |
1. 12 | |
2. 13 | |
3. 19 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment