https://bugs.kde.org/show_bug.cgi?id=499234
Bug ID: 499234 Summary: Problem with The Regular Expression for The Lookback Function (?<=pattern) Classification: Applications Product: krename Version: 5.0.1 Platform: Ubuntu OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: heiko.bec...@kde.org Reporter: ukmjenk...@gmail.com Target Milestone: --- SUMMARY I have a file with the filename: 00 0000 00.txt (1) For Find and Replace, I can type, the lookahaed function: Find = \s(?=\d(4}) Replace = X So that, when I select "Okay", The Proposed Filename correctly appears: 00X0000 00.txt (2) For Find and Replace, I can type, the lookback function: Find = (?<=\d(4})\s Replace = X However, when I select "Okay", The Proposed Filename incorrectly appears: 00 0000 00.txt When, the correct result would be: 00 0000X00.txt STEPS TO REPRODUCE OBSERVED RESULT The lookback function appears to not work. I have tested the lookahead and lookback functions, several times. The lookahead function always works. The lookback function never works. Please Help. EXPECTED RESULT SOFTWARE/OS VERSIONS Xubuntu 22.04 LTS ADDITIONAL INFORMATION 7am Tuesday 28 2025. -- You are receiving this mail because: You are watching all bug changes.