A bug related to ruby's regular expression!!!!!!
I found a bug related to ruby's regular expression!
This line of code should show a "w" on the screen, but my ruby shows "wo" on then screen.
According to the principles of regular expression, this is a non-greedy match, so it should match 0 "o", but it matches at least 1 "o". I think this is a bug!
My ruby version is v1.8.7-p249.