From: Jeff 'japhy' Pinyan Date: 2002-02-07T07:02:57+09:00 Subject: RE: Regexp::Parser ported to Ruby...? On Feb 6, Jack Dempsey said: >anyone know if using $& in ruby gives the same penalty as in perl? No, it doesn't -- that's one of their strong points. I believe Ruby uses copy-on-write, so $& actually refers to the string matched against, until that string changes. [Jack: Georgetown, eh? My girlfriend goes to Georgetown.] -- Jeff "japhy" Pinyan japhy@pobox.com http://www.pobox.com/~japhy/ RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/ ** Look for "Regular Expressions in Perl" published by Manning, in 2002 ** what does y/// stand for? why, yansliterate of course.