| Summary: | not responding when replacing regexp ^* with blank (default) | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | Jaime Torres <jtamate> |
| Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Jaime Torres
2003-03-14 13:25:53 UTC
Correct. We should prevent the infinite searching, but we don't yet provide search/replace spanning line breaks. Allthough the correct regexp to match a empty line would be "^\s*$" infinite loop solved, but lines still will stay I was going to report a related problem: Searching for $ and replacing with some text (to append some text to the end of each line) also causes an infinite loop. Will this problem also be fixed by your fix? Subject: Re: not responding when replacing regexp ^* with blank (default) On Thursday 08 May 2003 04:58, T Phillips wrote: > ------- 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=55954 > > > > > ------- Additional Comments From t.phillips@murdoch.edu.au 2003-05-08 > 04:58 ------- I was going to report a related problem: Searching for $ and > replacing with some text (to append some text to the end of each line) also > causes an infinite loop. Will this problem also be fixed by your fix? Partly: It works if you are no using the prompt. A workaround: search for "(.)$" and replace with "\1NEW TEXT" -anders |