Bug 457535 - regexp for empty strings don`t work
Summary: regexp for empty strings don`t work
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: search (show other bugs)
Version: 20.12.2
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-05 19:23 UTC by Филипп
Modified: 2025-03-02 22:14 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Филипп 2022-08-05 19:23:10 UTC
SUMMARY
regexp "^\n" do not find any empty string in find and replace. "^$" also don`t work. 
Kwrite do this replace without problem.

STEPS TO REPRODUCE
1. I saved log file (2 MB)  filter some strings with nothing → many empty strings
2. try to replace them like "^\n" for nothing

OBSERVED RESULT
not find any string

EXPECTED RESULT
all empty strings removed

SOFTWARE/OS VERSIONS
Windows: -
macOS: -
Linux/KDE Plasma: Debian GNU/Linux 11 5.10.0-16-amd64
(available in About System)
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Christoph Cullmann 2025-03-02 22:14:37 UTC
Just tried that in master, did work for me.