hg: jdk7/tl/jdk: 6860431: Character.isSurrogate(char ch)
Martin Buchholz
martinrb at google.com
Wed Sep 2 22:10:04 UTC 2009
On Wed, Sep 2, 2009 at 14:58, Ulf Zibis<Ulf.Zibis at gmx.de> wrote:
> Am 02.09.2009 22:29, Martin Buchholz schrieb:
> Doesn't {@code "t\u005Cu0131tle"} work too ?
I think so. This would make it easier to globally
replace <code> with {@code.
Here's a bit of Emacs Lisp to get you started:
(defun tt-code ()
(interactive)
(query-replace-regexp "<\\(tt\\|code\\)>\\([^<>\\\\]+\\)</\\1>"
"{@code \\2}"))
>> Searching the JDK sources for regex
>> ^ *\*.*\\u[0-9a-fA-F]{4}
>
>
> Doesn't it make sense to cover all occurrences in JDK ?
In non-public javadoc
(that is, javadoc which is usually read directly instead of via the
generated html)
it is mostly harmless, and more readable as well.
Martin
More information about the core-libs-dev
mailing list