Bug 158397

Summary: regex search & replace in textarea goes wrong
Product: [Applications] konqueror Reporter: Wolfram R. Sieber <Wolfram.R.Sieber>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: faure
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Wolfram R. Sieber 2008-02-25 15:32:25 UTC
Version:           3.5.5 (using 3.5.5, Debian Package 4:3.5.5a.dfsg.1-8etch1 (4.0))
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.18-6-686

Just as I am used to use regex search & replace in kwrite, kate etc., for a search within the textarea box I entered the regex to find ("= (.+) ="), ticked "[x] regular expression", entered the replace phrase (" \1 "), and ticked "[x] use placeholder".

In kwrite, this settings -- for a snippet of mediawiki markup -- cause the marked up headlines to become one level lighter. Unfortunately, in konqueror's regex search & replace, I get the patterns found, but the replace doesn't work: Everywhere I get a pattern found, the replace is just a plain " \1 ".

And, yes, the "[x] use placeholders" is really ticked.
Comment 1 David Faure 2010-05-19 01:17:04 UTC
Fixed for 4.5.

*** This bug has been marked as a duplicate of bug 168226 ***