RFR JDK-8147531,To add named character construct \N{...} to support Unicode name property
Martin Buchholz
martinrb at google.com
Tue Jan 19 19:43:38 UTC 2016
Many years ago I considered implementing this cool feature.
I thought that few would find it worth the cost - it would be hard to
keep the cost low if this feature is used only rarely. You might want
an expiring cache of character name mappings, and the JDK doesn't have
such a thing yet.
(I haven't actually reviewed the implementation)
On Mon, Jan 18, 2016 at 11:52 PM, Xueming Shen <xueming.shen at oracle.com> wrote:
> Hi,
>
> Please help review the change to add \N support in regex.
>
> Issue: https://bugs.openjdk.java.net/browse/JDK-8147531
> webrev: http://cr.openjdk.java.net/~sherman/8147531/webrev
>
> This is one of the items we were planning to address via JEP111
> http://openjdk.java.net/jeps/111
> https://bugs.openjdk.java.net/browse/JDK-8046101
>
> Some of the constructs had been added already in early release. I'm
> planning to address the rest as individual rfe separately.
>
> Thanks,
> Sherman
More information about the core-libs-dev
mailing list