[Bluej-discuss] Can't replace escaped characters in Netbeans, specifically \n

Michael Kölling M.Kolling at kent.ac.uk
Fri Sep 14 10:33:27 BST 2007


I can get it to match \n\n correctly if I select 'regular expression'  
in the find dialogue (strangely), but I cannot get it to replace  
properly (cannot insert single line break)...

mik

On 14 Sep 2007, at 09:30, Hedley Finger wrote:

>
> I am also using Netbeans BlueJ Edition v 5.5.1 and in the code editor
> are unable to match on say \n\n and replace with a single linebreak
> \n.  Adding more backslashes doesn't help.
>
> Replacing
>          \n      -->     n
>          \\n     -->     \n
>          etc.
>
> Tell me it ain't so.
>
> Regards,
> Hedley
>
>
>
> --
> Hedley Stewart Finger
> 28 Regent Street   Camberwell VIC 3124   Australia
> Tel. +61 3 9809 1229   Mobile +61 412 461 558,
> E-mail <mailto:hfinger at handholding.com.au>
>
>
> _______________________________________________
> mailing list bluej-discuss at bluej.org
> To unsubscribe or change your preferences, go to
> http://lists.bluej.org/mailman/listinfo/bluej-discuss



More information about the bluej-discuss mailing list