support ruby 1.8.7
modify 1.8.7 test case
fix 1.8.7 regex test case
split ruby version test case
Merge pull request #2 from naoto/1.8.7

Support 1.8.7