[perl #64060] [PATCH] Move capitalize from builtins to setting

2009-03-25 Thread Patrick R. Michaud via RT
I'm declining this patch in favor of a slightly shorter version taken almost directly from the synopsis: our Str multi method capitalize() is export { self.lc.subst(/\w+/, { .ucfirst }, :global) } Just for reference (and for consideration in other upcoming patches) -- the patch

Re: [perl #64060] [PATCH] Move capitalize from builtins to setting

2009-03-25 Thread Moritz Lenz
Patrick R. Michaud via RT wrote: (3) Case conversions on a string *can* cause its length to change -- in particular, the character ß (U+00DF) becomes SS when converted to uppercase. (I'm not sure that we have any tests for this at present, and it probably doesn't work when ICU isn't

Re: [perl #64060] [PATCH] Move capitalize from builtins to setting

2009-03-25 Thread Moritz Lenz
Patrick R. Michaud via RT wrote: (3) Case conversions on a string *can* cause its length to change -- in particular, the character ß (U+00DF) becomes SS when converted to uppercase. (I'm not sure that we have any tests for this at present, and it probably doesn't work when ICU isn't

[perl #64060] [PATCH] Move capitalize from builtins to setting

2009-03-23 Thread via RT
# New Ticket Created by Clinton Gormley # Please include the string: [perl #64060] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=64060 The attached patch moves capitalize from builtins/any-str.pir to