From: matz@... (Yukihiro Matsumoto) Date: 2002-07-12T00:28:16+09:00 Subject: Re: String#split converts string args to regexes -- ? Hi, In message "Re: String#split converts string args to regexes -- ?" on 02/07/11, Stepan Kasal writes: |How would you like if a review of a new version of Ruby said this: | | We experienced non-complete backward compatibility with this | version, at least. Our old programs just stopped working, though | no error message appeared. We traced this down to a | (mis-)behaviour of the split() function. [...] | We recommend reviewing all your programs carefully before upgrading | Ruby, especially in a production environment. | |I know, similar reasoning applies to my solution (a-c with an error message), |at least to an extent, because the error is detected in runtime, so it may |last some time till the surprise appears. But I think crashing programs |is better then changing the semantics of old programs in a weird way. You will be warned if you specify a string that contains regexp metacharacters. So you will not see silent behavior change without notices. matz.