From: Mark S Bilk Date: 2009-04-07T01:19:23+09:00 Subject: Re: String.split crashes my program On Apr 6, 8:14 am, Tomas Na wrote: > It reaches a block of code which causes it to become unresponsive. That > to me indicates a crash. Maybe not to you, but this discussion isn't > about semantics. > > Here is my output: > C:\Users\Tomas\Ruby>ruby test.rb > Split this text > > Then nothing. We sit here for ever while it "hasnt" crashed. So "Split this text" is the string you're scanning? Seems like the program is in a loop, rather than crashed. Would you please copy and paste the entire exact content of test.rb into a Usenet article in between two lines of dashes ("-------------")? Even better would be to zip it and put it on a website. Maybe you have some weird characters in the file.