From: Dave Thomas Date: 2000-09-02T23:34:33+09:00 Subject: [ruby-talk:4751] Re: Possible regex bug? ts writes: > >>>>> "D" == Dave Thomas writes: > > D> This would seem to be a problem with Perl ;-) > > a scan() is more like a //g in perl You're right - I should have had a /g on the Perl example. However... The point of my original post was not to say that there are no differences between Perl and Ruby regexps, but to say that the behavior of String.split was consistent with Perl's when given a pattern that matched a zero length string. That seemed to be Conrad's concern. Regards Dave