On Wed, Sep 2, 2009 at 14:58, Ulf Zibis<ulf.zi...@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

Reply via email to