From: "Jan E." Date: 2012-06-13T15:43:33+09:00 Subject: Re: Problem with reg exp Hi, cyber c. wrote in post #1064296: > Any one can spot the problem , please let me know. Your question probably refers to your previous thread: http://www.ruby-forum.com/topic/4402543#new The problem is that you're throwing together two different solutions for the partioning problem. If you want to use split, you have to pass the *delimiter* on which the string should be split. However, split probably isn't the right way to do this. I'd rather use String#=~ or String#match like the others suggested. -- Posted via http://www.ruby-forum.com/.