[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwrite-devel
Subject:    [Bug 45529] replace *with* regular expression
From:       Anders Lund <anders () alweb ! dk>
Date:       2005-06-18 17:42:16
Message-ID: 20050618174216.3062.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=45529         




------- Additional Comments From anders alweb dk  2005-06-18 19:42 -------
On Saturday 18 June 2005 16:08, Adrian Dziubek wrote:
> I'm for separating plain find/replace from regexp and giving regexp full
> Perl/POSIX/egrep (or all of them) functionality. I really miss replacing
> newlines and almost every replace I remember needs regexp. No regexp is a
> step back to Notepad. I don't say that everyone should learn, but I think
> most of people already know how to use them and if it's done standard
> (Perl/POSIX/egrep) way it's gonna be used. Making up another language for
> this is in my opinion a bad idea. Regex have been on this planet long
> enough to proove, that it's good for it's purpose. Some visual replacer,
> might be better in some cases, but it won't replace fast and plain command
> line regexp. I guess I have to use perl scrpits for now.


You do have regex.

Kate is storing the text in lines, which makes finding text that crosses line 
boundries non-trivial, but using the commandline search, you can *add* 
newlines allready. it also supports regex quite nicely, you can do 'replace:r 
PATTERN REPLACEMENT' and have a regex engine close to the perl5 one, it's 
using the regexp available in Qt.
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic