regular expression newline replace

James Richard Tyrer tyrerj at acm.org
Wed Jan 5 05:19:11 GMT 2005


Mage wrote:
>          Hello,
> 
> I am new with KDE. I like it, but I have noticed that all KDE editors 
> (Quanta, Kate, KWord) fail with replacing newline characters.
> 
> For example, my regexp is [\n\a\r]*, this should match every type of 
> newlines (unix, ms). It matches, but just finds them and doesn't replace.
> 
> Is this a bug? I have to install bluefish for this simple task.

I haven't been able to figure out how to remove blank lines with search 
and replace either. :-(

The regexp
	
	^ *$\n

is rejected as improper.

So, it is probably a bug.

-- 
JRT

___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list