RFR: 8197594 - String and character repeat

Xueming Shen xueming.shen at oracle.com
Sun Feb 18 19:27:33 UTC 2018


On 2/18/18, 11:19 AM, Martin Buchholz wrote:
> On Sun, Feb 18, 2018 at 1:37 AM, James Laskey<james.laskey at oracle.com>
> wrote:
>
>> Didn’t I hear someone mentioning “\U1D11A” at some point?
>>
> Unicode codepoint escapes are still Not a Thing, apparently.
> Yes, it's a language feature, but an easy one to implement.
> Except for the usual bikeshedding about syntax
>   - include the '+'?
>   - how many digits to consume after the escape?  How much do we trust
> Unicode to never ever grow beyond 5 hex digits?
|now we have some "similar" already in regex \x|{h...h} :-)

It's hard to say "never" given we are adding so many  emoji in Unicode
but it will take a while to fill those unsigned space.
/
/


More information about the core-libs-dev mailing list