Hi,

In message "Re: rb_reg_quote weirdness"
    on Mon, 14 Mar 2005 06:42:37 +0900, Nikolai Weibull <mailing-lists.ruby-core / rawuncut.elitemail.org> writes:

|My documentation for Regexp::quote(str) says that a copy of str is
|returned, yet if str doesn't contain any metacharacters, str itself is
|returned:

|is this how it should be, or should str be copied at this point?,

For efficiency, avoiding unnecessary copy is sought.  For consistency,
and safety (from in-place string modification), all time copy is
better.  I chose the former.  But I'm still open for input.

							matz.