Dear Dan,
I fixed the statement into:
if (nodeText.matches("(?ims).*<head>.*")) {
nodeText =
nodeText.replaceFirst("(?ims).*<head>.*","<head>"+htmlLongNodeHead); }
else {
nodeText =
nodeText.replaceFirst("(?ims)<html>","<html><head>"+htmlLongNodeHead+"</head>");
}}
Best regards, Chris
Dan Polansky schrieb:
> Hello all,
>
> NodeView.java in 0.9.0 contains an error, introduced with my patch to the
> update() method. The error has no symptoms though. Whether you want to fix
> it is up to you; I just thought it fair to tell you about it.
>
> Wrong: if (nodeText.matches("(?ims)<head>"))
>
> Correct: if (nodeText.matches("(?ims).*<head>.*"))
>
> Best regards,
> Dan
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Freemind-developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freemind-developer
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freemind-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freemind-developer