<i18n dev> JDK7 and Unicode regular expressions

Tom Christiansen tchrist at perl.com
Wed Apr 13 19:40:36 PDT 2011


I'm happy to see that

    http://download.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html

includes a lot of great new stuff for Java regular expressions.  I'm 
specifically excited about named captures via (?<NAME>...) and \k<NAME>,
and the new \x{XXX} escape to allow code points to be specified logically
instead of in some encoding form (UTF-16, but still).  Also, support for
the Unicode script property is *extremely* welcome.   Thank you!

However, the referenced bit of javadoc still contains substantial errors of
fact and of treatment.  These are errors which I have previously reported
here, and which I had thought would have been corrected via a doc update
prior to release.

While I'm on top of it, I see that 

    http://download.oracle.com/javase/7/docs/api/java/lang/Character.html

also still contains certain errors I previously reported as well.

Have these actually been released with their errors still in them, 
or am I just not looking at the right thing?  

I don't mean to come off sounding as though I am complaining without
pitching in and helping, so I would be *very* glad to offer documentation
patches to fix these errors.  I just don't want to tread on anybody's toes.
Do please let me know what I can do to help.

thank you,

--tom


More information about the i18n-dev mailing list